• Custom User Avatar

    Description should specify that an element that requires multiple reductions adds multiple steps.

  • Custom User Avatar

    ( Haskell, possibly others )

    function countSteps(arr) that takes in an array of single digit numbers

    Random tests have arrays that contain numbers up to and including at least 100.

  • Default User Avatar

    Haskell: You should clarify that the first step taken must be The sum of adjacent numbers, even if given digits are > 9. And emphasise that you have to reduce to single digit numbers before adding adjacent numbers (19 with added digits = 10, must be reduced again to 1, NOT passed to next reduction cycle)