Question: Ch. 3 -Section 3.1 1. Use the bubble sort to sort the sequence, 2, 3,1, 5, 4, 6. Show the lists obtained at each step.
Ch. 3 -Section 3.1 1. Use the bubble sort to sort the sequence, 2, 3,1, 5, 4, 6. Show the lists obtained at each step. 2. Use the greedy algorithm to make change using quarters, dimes, nickels, and pennies for: a) 87 cents. b) 49 cents. Ch.4-Section 4.1 3. Evaluate the following: a) 122 mod 5 b) -33 mod 2 4. Decide whether the following integers are congruent to 3 modulo 7 a) 37 b) 66 c) -7 d -67
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
