Amazon Interview Question

debug a sorting array function

Interview Answer

Anonymous

Aug 5, 2021

there was a problem in the the indexes of the array array[min] > array[x] should have been array[min] > arr[y]