Broadcom Interview Question

both questions were not unexpected