Tecsys Interview Question

Write a program to sort the no.