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.
Fixed
This comment is hidden because it contains spoiler information about the solution
And then you look at all the other languages which don't wrap the list/vector/array/collection with an optional type. So why should haskell? "null" in another languages it not the same as "Maybe" in haskell !!
If the input array is empty or null, return an empty array:
You're not testing if the value passed is an array and directly use length on null.
This comment is hidden because it contains spoiler information about the solution
Yes u are correct totally same thing 100%