length, return every string of length characters made of 0 and 1 in which two zeros never stand next to each other. The strings may be returned in any order.length=2 → ['01', '10', '11']
Of the four strings of length 2, only 00 is ruled out.
length=4 → ['0101', '0110', '0111', '1010', '1011', '1101', '1110', '1111']
Eight strings qualify: 0101, 0110, 0111, 1010, 1011, 1101, 1110, 1111.
length=2
['01', '10', '11']
Run checks the first 3 tests in your browser. Submit checks all 14 tests on the server, hidden ones included.