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.
Hi! FYI: Your solution function pass fawlty tests, but it's wrong.
The kata is broken in Haskell. Have a look at the discussion.
This looks like a depth-first traversal, while the question demands a breadth-first one.
When in doubt, look at the source: https://github.com/Codewars/codewars-runner/blob/master/docker/func.docker