give binary string s integ k return true binary code length k substring s otherwise return false Example 1input s 00110110 k 2output trueexplanation the binary code length 2 00 01 10 11 they find substring index 0 1 3 2 respectivelyexample 2input s 0110 k 1output trueexplanation the binary code length 1 0 1 clear exist substre Example 3input s 0110 k 2output falseexplanation the binary code 00 length 2 exist array Constraints1 slength 5 105si 0 11 k 20