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.
Thanks, but it's not an assertion error. Looks like a bug in checking code:
java.lang.IndexOutOfBoundsException: Index -1 out of bounds for length 1
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266)
at java.base/java.util.Objects.checkIndex(Objects.java:359)
at java.base/java.util.ArrayList.get(ArrayList.java:427)
at BurrowsWheeler.decode(BurrowsWheeler.java:37)
Also, I see something similar has been reported for Python and C++ some time ago.
Java:
Attempt fails on assertEquals("Mellow Yellow", BurrowsWheeler.decode("ww MYeelllloo", 1)) with "java.lang.IndexOutOfBoundsException: Index -1 out of bounds for length 1" message. Same thing passes when hitting Test button.