Broadcom Interview Question

Basic algorithms and ease to solve issues with logic