Man or boy test
This solution avoids creating the closure b if k <= 0 (that is, nearly every time).
Alternatively, we can implement it as a method too:
Last updated
This solution avoids creating the closure b if k <= 0 (that is, nearly every time).
Alternatively, we can implement it as a method too:
Last updated