Agoda Interview Question

Typical array problems - sort an array, merge two arrays, improving time complexity