Ad
  • Custom User Avatar

    I don't know if you found your issue since then but the issue is due to the variable you compare your value to.
    Try to visualize it in your head, take this array [8,8,8,8,7] and use your comparison in your head or even on paper to clearly see your mistake.
    You're nearly there my dude, I believe in you !