Toshiba Interview Question

some technical stuff