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.
Yeah, it was my blunder. I didn't notice the information about starting from the left. Pardon.
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?
pop starting from the left.
¯\(ツ)/¯yeah, I am talking about Scala version
Just for completeness: you mean Scala tests, right?
I get the impression that solutions don't pass this use case
Seq("B", "B", "A", "A", "A", "B", "A")
.Moreover, the approved solution https://www.codewars.com/kumite/6538b31317466215f3a3ccdf?sel=6538b31317466215f3a3ccdf as well :(