Capital One Interview Question

Make a custom quick sort and logical spring manipulation problem on Hackerrank