Amazon Interview Question

Online assessment q includes some sort of sorting algorithm