Hulu Interview Question

Basic sorting algorithm (easy LC)