Broadcom interview question

few puzzles...