Pregunta de entrevista de Tata Consultancy Services

logical reasoning, basic coding question, etc