Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Nice kata 🎉
Approved.
where ?
Your solution is
O(m*n)
. That'll never work; you need something better.OP has left the building.
Your solution is
O(m*n)
. That'll never pass. You need something better.Yep, same thing is happening with me. I've passed 208 cases and failed because of 1, and the reason is the maximum stack calling issue.
This comment is hidden because it contains spoiler information about the solution
-pen and paper
-brute force
-optimise
-still stuck
-ask gpt to give hint no code
-pen and paper
-revise
Fancy comparison operators
Loading more items...