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.
The error you're encountering is because
Arrays.sort()
doesn't return an array but instead sorts the array in place. So, you can't directly useArrays.equals()
to compare the sorted arrays. You need to sort the arrays first and then compare them.OP solved it, closing
Because your convertion from
int[]
toList
is wrong.you're very welcome
seems like you passed the kata?
in which case, if your
question
was fully answered, close it out by clickingMark question as resolved
at least this:
getNumericValue
notNumericValue
and there is more, but start with these