Intel Corporation Interview Question

Solve problem one HW one SW