Leetcode 3455. Shortest Matching Substring | Hello Interview