Pregunta de entrevista de Tata Consultancy Services

Data structure and algorithm, c, c++, code