Question: In the pseudocode of INSERTION - SORT, what does the 'while' loop do ? - it sorts the entire array - it counts the number
In the pseudocode of INSERTIONSORT, what does the 'while' loop do
it sorts the entire array
it counts the number of iterations
it swaps the elements in an array
it finds the correct position for the current element being sorted
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
