Ad
  • Custom User Avatar

    Just a thought with these challenges, I try to look at how they are explicitly written and go from there - Most of the time they will say what data type the input is, allowing for you to make the assumption that the input is a certain data type (array in this case) and therefore you do not have to check the input.

    I see what you are doing and why, just thought I'd share my take on it