Code Nation Interview Question

1 question was to find binary substring in a binary string.