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.
Output of my Scala refsol matches output of authors original refsol in Python. Being unable to read the description is not an issue.
It appears to me that the Scala solution is correct.
For
Seq("B", "B", "A", "A", "A", "B", "A")
I would expect:Seq("A", "A", "A", "B", "A")
Seq("B", "A")
Seq("B", "A")
when I test the reference solution
popBlocks(Seq("B", "B", "A", "A", "A", "B", "A")) => Seq("B", "A")
Do you expect something different? If so, what?
Just for completeness: you mean Scala tests, right?