Ad
  • Custom User Avatar

    ah got it, my bad on the count of 'v'. will edit my answer to deal with this problem. thanks!

  • Custom User Avatar
    'vvvvvvv vvvvvv vvvvvv', 'vvvvvvv vvvvvvvvvvv'
    

    Hi, i'm having some issue with the this test case above. I'm able to pass everything but this case. The solution suggest Index: 14, added: '', deleted: ' v'

    My solution gets Index: 14, added: 'v', deleted: ' ' Which fulfills all the conditions listed in the description. Is there something wrong?

  • Custom User Avatar

    thanks for the tip. ended up solving it without any loops

  • Custom User Avatar

    thanks for the help! finally managed to solve it once i thought of a different idea

  • Custom User Avatar

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

  • Custom User Avatar

    I'm getting RangeError: Maximum call stack size exceeded upon attempting the solution and I have no idea how to solve this problem.

    I'm passing all the test cases, and returning the results within 1500ms. Can someone guide me in the right direction? I've researched that call stack size errors are due to recursive functions, but I don't have a recursive function in my solution...