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.
Just do my code
Well it should be best practice cause mine is the real clever one
Lmao🤣🤣🤣🤣🤣
Which part didnt you understand
Just use the fast solution no need to complicate and u can return values directly no need for another variable
WHAAAT..I could never have done that
🤣🤣🤣🤣🤣🤣
SUPER complicated
This comment is hidden because it contains spoiler information about the solution
@Tanvir47 no hard feelings!
If you really want to improve, I would suggest taking courses (lots of good stuff is available online free of charge), reading the documentation and technical literature, and most importantly - trying out the new concepts you have just learned by making projects.
If you're really interested in making efficient code, you should check out a Data Structures and Algorithms (DSA) course. I'm sorry, I can't give you any actual recommendations on those - most of the stuff I used and loved is in my native tongue.
By the way, both your solution and natro23's has the same time complexity, O(n).
Me too..That's why i asked for age and location buddy
im a teen
Then lets keep it cause i added everything nessesery and thanks sir for letting me now
It is not possible to delete a kata which has solutions.
Well there are a lots of duplicates and i did not know.. I just wanted to give it a try but how can i delete this kata because i accedentally published it and now it does not allow me to delete it
Loading more items...