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.
not a question
OP solved the kata
you altered the return type of the method. it should return a
List<Object>
, not aList<Integer>
. the input list can contain potentially any type, therefore so can the output, expectString
sWhere is my error ? :src/test/java/SolutionTests.java:43: error: incompatible types: List cannot be converted to List
List result = Kata.filterList(List.copyOf(input));
^
1 error