it's like this (if you know about binary) 1111 = 8421 = 8 + 4 + 2 + 1 and 0101 = 0 + 4 + 0 + 1.
This comment is hidden because it contains spoiler information about the solution
You need to read the description.
Not a kata issue, and there is no test with that input. Print the input to help you debug your code.
Loading collection data...
it's like this (if you know about binary) 1111 = 8421 = 8 + 4 + 2 + 1 and 0101 = 0 + 4 + 0 + 1.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
You need to read the description.
Not a kata issue, and there is no test with that input. Print the input to help you debug your code.