Philips Interview Question

Wanted to walk through problem solving processes