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.
to limit the length of the string for the condition since digit 0-9 is a character with the length of 1
What does this mean?
./src/main/java/Kata.java:1: error: modifier static not allowed here
public static class Kata {
^
./src/test/java/SolutionTest.java:16: error: incompatible types: Node cannot be converted to Kata.Node
Node newHead = Kata.reverse(node1);
^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
2 errors