Ad
  • Custom User Avatar

    YES. I sat here for too long missing the part where you are just counting the 1's in the binary code
    like 0111 has 3 1's.
    1001 has 2 1's.
    1111 has 4 1's.

  • Custom User Avatar

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

  • Custom User Avatar

    I think that the final test use antoher value that is not a string, if you run with the sample test you can see that in fact, "*" is a string