Walmart Global Tech interview question

1. Count binary substrings 2. Leetcode 2950