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.
pop starting from the left.
¯\(ツ)/¯yeah, I am talking about Scala version
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 :(