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.
From my point of view, unless you have a prodigious mind, you need to use several times a function to remember it... and there is a lot oof objects an functions out there. So the best approach is to think if an object could have a function related to it that could be handy and search for it.
However, sometimes if best try to think out of the box and try your best shoot and then see if there is that function out there.
As I can understand you can just find those methods in the installed Java editors like IJ IDEA. They come handy when you need to find the specific methods of classes. Just typing, for instance, "str." it will show you every single method that class "str" has. Actually, in my opinion, it is the best way to practice. However, not all editors may provide the methods of classes. Sublime, of course is one of them. The only reason to use Sublime and such editors is that they are super fast.
You should always try to find methods, with out withour Google. Is the way to learn!
Nice one.
It took me 3 days to solve this one and i came up with 78 lines of code and then i get here and see it solved in 3 lines :))
Still feeling proud to have solved it :)
very nice. makes total sense. the top solution is just a shorter/better/more compact version of my solution. while this one is obviously faster.
The solution seems simpler and i was wondering why it isn't voted as a best practice. Your comment made light. Thank you.
Sorting increases execution time. Even for a 7 element array.
This is beautiful. Although @brunomueller has a point. However most solutions use the harcoded 26
Hey guys!
Just wondering, this solution comes from experience, right? Or did you just search the available methods until you found the right ones?
When attempting to solve a challenge should i always try and find methods(without google) that seem to do what i need and try them out or to use what i already know?
Thank you.