Ad
  • Custom User Avatar

    Practice more. ;)
    This is not the kind of thing you'll learn in a book.

  • Custom User Avatar

    Completely agree with you, prbsh9, I thought the same thing. Spent a bit of time answering the question that was posed, only to find out it was a waste of time because the solution requires a completely different approach. Apparently, we're supposed to be mind readers. I'm glad I answered the actual question that was asked correctly; just a shame I have to press 'skip' now.

  • Custom User Avatar

    Add a print statement in your code to know the arrays.

  • Custom User Avatar

    Print the input.
    Post only once the same question.