Hitachi Interview Question

Project diff faced in the execution