Leetcode 3023. Find Pattern in Infinite Stream I | Hello Interview