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 comment m8
Generally no need to mark posts without code as spoilers BTW.
Spoilering a post means nobody gets notifications for it, and people who haven't solved in their selected language can't read it. If you don't have to spoiler, don't.
Thank You!
Print the length of the input at the start of your function. Read the last value before the crash.
Also: read the error message: "out of memory".
Then reconsider your life choices. :D recursion is a great tool ( I like it a lot! and I commend you for trying ), but in some languages it's not for every situation.
Please follow the Troubleshooting Guide.
When testing out the code all goes well, but when trying to attempt timeout exceds and I even used 2 solutions.
The first one could've taken more time since it requires a validation of the whole array while the 2nd one doesn't and returns when finds x condition happen.
Please follow the Troubleshooting Guide.
You're telling us nothing. Help us help you!
Hi, I keep getting an error when validating my solution, I tried 2 different solutions and still gets stuck.
amazing man