Now it's 6 :(

BETWEEN every two blue beads

Can someone please explain to me why you need to subtract 2 of n? I got it right by luck.

Approved by author

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

Please use spoiler flag next time.

I edited the kata to clarify it in the initial solution

Nice!

Check my solution if you want to do it in the same way while handling an invalid colour

I think the tag was there by mistake, I fixed it.

Now it's 6 :(

BETWEEN every two blue beads

Can someone please explain to me why you need to subtract 2 of n? I got it right by luck.

Approved by author

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

Please use spoiler flag next time.

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

I edited the kata to clarify it in the initial solution

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

Nice!

Please use spoiler flag next time.

Check my solution if you want to do it in the same way while handling an invalid colour

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

I think the tag was there by mistake, I fixed it.

## Loading more items...