Pregunta de entrevista de Wipro

Sort the array without using inbuilt functions and some theoretical questions