Broadcom Interview Question

It is moderate in difficulty.