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.
This comment is hidden because it contains spoiler information about the solution
I checked, I didn't find any errors. This typo was as soon as this kata was released. And then it was corrected. If I misunderstood something, please write about it.
👆 The explanation is correct
Thank you! Changed.
Thank you! Fixed.
Thank you! Added.
Thank you! Fixed.
That's why your decision is correct
The string does not have to contain the "NOP" sequence. We count the maximum length of the sequence, where any two letters from this sequence do not stand next to each other.
In a line with a space, it should not be taken into account, consider that it does not exist. If a line with one space comes, we consider it empty, as we do not take into account spaces.
The line "AAANAPOAA" is divided into "AAANAP" and "OAA". The maximum length of the sequence is 6.
Thank you! Fixed.