Leetcode 2185. Counting Words With a Given Prefix | Hello Interview