Ad
  • Custom User Avatar

    This is by design. [] isn't 'null', so 2 [] are 'same'.

  • Custom User Avatar

    Okay.
    thanks bro.

  • Custom User Avatar

    Hey! Remember to mark your comments as spoiler when you post your code!

    Coming to your question, you haven't mentioned what error you are facing.
    If its a TLE error you'll have to improve your algorithm, or if there is an edge case try printing the inputs.
    Also, there are over 1k submissions with php. So its unlikely anything is wrong with the kata ;)

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution