Given a binary string s and a positive integer n, return true if the binary representation of every integer from n is a substring of s, or false otherwise.
A substring is a contiguous sequence of characters within a string.
Constraints:
s.length
s[i] is either '0' or '1'.
n
Given a binary string s and a positive integer n, return true if the binary representation of every integer from n is a substring of s, or false otherwise.
A substring is a contiguous sequence of characters within a string.
Constraints:
s.length
s[i] is either '0' or '1'.
n