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 checked it manually with test cases, the number of smileys are equal to the value returned by my method but the test case is giving wrong output.
Requesting you to please verify the test cases.
If your code was correct, it'd have worked here as well. Your solution logic is flawed - not an issue.
This comment is hidden because it contains spoiler information about the solution