Dell Technologies Interview Question

Technical question and how to debug