Pregunta de entrevista de Tata Consultancy Services

what is lambda function? how to open a file?