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.
expected:<[]2-1-4-7-48-3-648>
is the correct answer, which is2-1-4-7-48-3-648
whislt your code returns--2-1-4-7-48-3-648
(2 leading dashes).The
[]
are just there to indicate the difference in your answer and the correct one.Read this for more info
Why am I getting just with EdgeCases Test two this Error and every other Test does work: expected:<[]2-1-4-7-48-3-648> but was:<[--]2-1-4-7-48-3-648>. Cant understand where the difference to the other tests is and why my code fails on this one. I even tried to replace those Symbols in the beginning before the 2 with .replace() and substring but they do not delete it. Im using Java.