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.
so did i
That's part of
base
, so… yes. (Data.List.sort
)This comment is hidden because it contains spoiler information about the solution
Good point.
I will fix it
Numerical precision could be an issue. BigDecimal should be used as dataType, but the aim of this kata is not to stress on the precision, but on the algothmics of finding a root.
Just round your solution ^^
When you have specifications, you just apply them no matter if it sounds easier to get rid of it or not.
And until some people fail applying specifications I will keep this up.
The goal is not only to generate some leetspeak, but to make a general exercise for Java (Codewars.com doesn't have a lot of exercises in Java yet so Im trying to cover more subjects at once).
You're right. I have added the two test cases now.
Nice solution, by the way.
Since some failed at it even if the class is given by default I will not remove this rule.
This comment is hidden because it contains spoiler information about the solution