Pregunta de entrevista de WNS-Vuram

Logical question and Some basic coding questions