HCLTech interview question

4. Simple problem to sort the integer array