Pregunta de entrevista de Giridhara Software Services

basic reasoning and aptitude question