Pergunta de entrevista da empresa Tata Consultancy Services

Asked about sorting and string based question