Closed misstonbon closed 5 years ago
Hi @misstonbon, from quick glance, it would seem that the function will be exited on the first attempt into the for loop, and the rest of the logic will not be initiated. Are you able to explain why you think a return is missing?
Hello, I have indicated the missing return keyword above. Thanks for providing good interview prep questions.