Ugam Interview Question

coding questions related to sorting numbers