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.
we call this category "challenging kyu 7"
hi mate have a look now, i updated the test
Does not resolve issues with original translation, rejected.
imagine all the candles lined up vertically, now you can extinguish 3 candles at a time but can only proceed to the next one if the candle at the very front of your current subset has been extinguished. so if lit candle is 1 and extinguished is 0, then 6 lit candles will be (111)111. now once you extinguished the first candle -> 011111, then you can proceed to the next one: 0(111)11, but you can't proceed if your states is 100111, you have have to clear the first candle and only then you can proceed to the next candle.
Hopefully this helps.
LOVED it but it's more like a 6 kyu challenge. probably i'm overthinking this :)
You are free to translate it to Java, so long as you follow the guidelines and post it as a suggestion so Power Users can review and approve.
Also, unlike a real-time program,
main
is not required ^^This comment is hidden because it contains spoiler information about the solution