Pregunta de entrevista de Deloitte

Basic logical and arithmetic questions.