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.
O(n^2) ... not the best approach
worst practice
The cast (int) is unnecessary because - '0' already gives the int value
Very cool! Congrats for such a nice solution :)
holy shit - why?
take a look at 15:15 🕦 are you sure? 😂
Took me some minutes to understand whats going on here :D smart trick
In this case a well designed class would have a field position which would be an ENUM e.g. Position.BOSS, Position.WORKER ... :)
This one is cool
Your solution is buggy! For example 4fff1aaaaaaaaaaa your code returns true because fff is length 3 -> --count = 1 -> 1*10 +1 = 11 = aaaaaaaaaaa.length()
This comment is hidden because it contains spoiler information about the solution
Java automatically converts arithmetic operations on bytes into an integer value. So your cast (int) is unnecessary. Additionally, you should not change the method signature to satisfy this kata.
This is an anoying kata
this is b€€€s€€€
Cool - i didn't know this method. kudos
Loading more items...