Pergunta de entrevista da empresa Toshiba

Logical and analytical reasoning question