I feel the hint you provided is a bit on the nose. This is an interesting little puzzle... Maybe a hint that's less significant might make the solve more enjoyable.
Also, keep in mind that different languages have different ways of expressing binary, and 0b01101 in Python will be 01101 in javascript, e.g., which could make future translations problematic. Just my ¢2 ...
This kata is a duplicate of https://www.codewars.com/kata/583daf5f8bbc0446f50002d0 (which was removed due to copyright infringement)
Too many tests for a non-performance kata ( this should be
7 kyu
, right? ).100
reasonably sized tests is more than adequate, and should run in milliseconds, for a much better user experience.Check if
s
is formed bythe first characterthe first part (one or more chars) of each word. E.g.P.S. I don't know if it is already done.
https://www.codewars.com/kata/reviews/64f32eead313d9003e9ca5d6/groups/64f33a3b96b3d100011c91c5
I feel the hint you provided is a bit on the nose.
This is an interesting little puzzle...
Maybe a hint that's
less significant
might make the solve more enjoyable.Also, keep in mind that different languages have different ways of expressing binary, and
0b01101
in Python will be01101
in javascript, e.g., which could make future translations problematic.Just my ¢2 ...
cheers