Leetcode 1858. Longest Word With All Prefixes | Hello Interview