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 expected answer is
true
, but your algorithm is still wrong.This comment is hidden because it contains spoiler information about the solution
It seems you're trimming too much.
Can't know for sure without seeing your code, but one common reason is your function prints the result instead of returning it.
If you post it, use proper markdown and mark your post as having spoiler content.
This comment is hidden because it contains spoiler information about the solution