Leetcode 1392. Longest Happy Prefix | Hello Interview