Toshiba interview question

Logical and analytical reasoning question