Question d’entretien chez Paytm

Sorting algorithm without using inbuilt functions