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.
I have the same problem
The label "issue" is not for advice, it's for actual issues. Use question label next time.
Start by printing inputs as shown here: https://docs.codewars.com/training/troubleshooting/#print-input and also read the description very carefully (or read 100 other related posts on this discourse section).
Your code is returning 3, but it should return 4 instead.
you need to use the spoiler flag when discussing code solutions / methods. i have added the flag to your comment