I cannot figure out how to write the pseudo code for this function, I need help.
void Insertion( long array, long left, long right )
for( i = right; i > left; i-- )
Swap( array[i - 1], array[i] );
for( i = left + 2; i <= right; i++ )
long j = i, item = array[i];
while( item < array[j - 1] )
array[j] = array[j - 1];
array[j] = item;
Gee, this is the third time you've spammed the board with the same question.
> I cannot figure out how to write the pseudo code for this function
Write one English sentence to describe each loop would be a start.