Chewy Interview Question

Sort array list in o(1)