Given a target string s and a list of words (a dictionary), determine the minimum number of words from the list that need to be concatenated (words may be reused any number of times) to form s exactly. If it's impossible to form s using the given words, return -1. Notes: - The concatenation must produce s exactly, with no extra characters. - Each word from the list can be used multiple times. - Return 0 if s is empty (empty concatenation). Example: Input: s = "leetcode", words = ["leet", "code"] Output: 2
("leetcode", ["leet", "code"])2