Needs an edge case that hits exactly at where the boundary of a rung is (to catch incorrect rounding at boundary).
Nasm translation
Perhaps a part 2 should be made where we need to return all the options of the mix: water-carbondioxide-methane water-methan-carbondioxide methane-water-carbondioxide carbondioxide-water-methane etc
was a fun Kata:P
Tests are inconsistent. Sometime oxygen reacts in pairs, sometime single oxygens react.
Loading collection data...
Needs an edge case that hits exactly at where the boundary of a rung is (to catch incorrect rounding at boundary).
Nasm translation
Perhaps a part 2 should be made where we need to return all the options of the mix:
water-carbondioxide-methane
water-methan-carbondioxide
methane-water-carbondioxide
carbondioxide-water-methane
etc
was a fun Kata:P
Tests are inconsistent. Sometime oxygen reacts in pairs, sometime single oxygens react.