Ad
  • Custom User Avatar

    Couldn't you copy and paste it here? Having to go to a different kata to see information you need in this one shouldn't be needed. Even more when this is the easier one, and the normal order for doing this should be easier first, harder later, not the other way around.

  • Custom User Avatar

    I think the harder version has already given the "break-down-couting" of the data example.

  • Custom User Avatar

    It would greatly help with understanding if you would break down the counting of sub-arrays in the description. Maybe something like:

    input = {2, 2, 2, 3}

    sub-arrays = [2], [2], [2], [3], [2, 2, 2], [2, 3], [2, 2, 2, 3]

    total = 7