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.
That sounds like a good idea. the course is ending soon and it sounded like the next time around oracle might set up their own auto-validating homework system.
You are absolutely correct. I fixed this.
Your error should be: "Input [Foo, Bar, Baz] expected: but was: ". This looks like a minor bug in codewars.com forgetting to escape html characters.
You can view the real error by using your html debugger.
I made the exercise expect output of that type because the behavior of Stream.limit(long maxSize) is to set an upper limit on the stream, it does not affect streams with fewer elements than maxSize.
I forgot to mention that this issue is with the java version.
The tests give numbers with duplicate values (instructions say to expect no duplicates). Tests with duplicate values expect the biggest index with the minimum number.
The tests should not give duplicate values or the instructions should mention we want the biggest index with the minimum value.