Philips interview question

Threads related question was asked