Ad
  • Default User Avatar

    If your code fails on optimization, then it's most likely due to "expensiveness" of array and string methods. Try to use objects or maps. I won't go into more details as that would be spoiler teritory.

  • Custom User Avatar

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