4kyu here, thanks for the object pointer. My solution was failing due to array and string methods as well, when testing with extremely large strings, even though i reduced the 2nd string as much as possible. But handling it as an object worked! Though my approach was a bit different.
@jfur58813 жыл бұрын
I've been struggling with this one for a few hours now. Trying to make the jump from Edabit to Codewars and even the easy ones are so much harder.