Bloomberg Interview Question

Sorting and system design