I am dealt 5 cards in the following order: Ace, King, 8, 7, and 5. Using insertion sort, sort the cards from lowest to highest (assuming Ace is high) and answer the following questions.
How many comparisons between two cards did you have to perform?
How many times did you have to move a card?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here