Ad
  • Custom User Avatar

    The image in the description is broken

  • Custom User Avatar
    • JS Node 18. should be enabled
  • Custom User Avatar

    Description should be language-agnostic

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    @glenoakes,

    • Typo in the description: immediatley -> immediately
    • Examples section in the description is empty for Python, Ruby & C.

    You could add these markdown code sections for the Python and Ruby examples (still missing C though):

    ```python

    counter_effect('1250') == [[0, 1], [0, 1, 2], [0, 1, 2, 3, 4, 5], [0]]
    counter_effect('0050') == [[0], [0], [0, 1, 2, 3, 4, 5], [0]]
    counter_effect('0000') == [[0], [0], [0], [0]]
    

    ```

    ```ruby

    counter_effect('1250') == [[0, 1], [0, 1, 2], [0, 1, 2, 3, 4, 5], [0]]
    counter_effect('0050') == [[0], [0], [0, 1, 2, 3, 4, 5], [0]]
    counter_effect('0000') == [[0], [0], [0], [0]]
    

    ```

    Thanks!