Hitachi Vantara Interview Question

To arrange array in ascending order