Dell Technologies Interview Question

What’s wrong with this code?