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.
Can someone please explain why this solution is most voted as Best Practices? it's a concise one-liner but I thought loop-based solution might be more appropriate.
This code generates an extra List object and an extra job for the garbage collector.
String that I got >@=<UEWNWL48@=>P6EDB80=\21PW2H\D:B^D657<62OHPV\4KZ43[NCE[Q;UGOOS6TGFA^8F<2FCJL@:C9<>@I=[
expected:<[>@=<U3WNW148@=>P63D880=\21PW2#\D:8^D657<620#PV\4K243[N(3[Q;U600$676F@^8F<2F(J1@:(9<>@!=[]> but was:<[U3WNW1P3D8PW#D8D0#PVK2N(3QU600$76F@FF(J1(!]>
There is no symbols in alphabet like "=>@"
Did you convert the strings to upper case?
That's weird. I just solved it using the map from the description.
Sorry, i have forgot. I have problem with random tests Java.
I suspect you are referring to the Java translation.
To which language are you refering? Not
Python
, I presume.I have passed tests, but I can't pass random tests, because random tests contain symbols that not in your alphabet. Please update alphabet.
In Java you need to throw new IllegalArgumentException if radius <=0 .
Good luck :)
Not a suggestion.
Do not account the minus (-).
Good luck.
This comment is hidden because it contains spoiler information about the solution
Nice :)
Loading more items...