testcases: - name: "testcase 1" inputs: - 1 : magiclly - 2 : ["ag", "al", "icl", "mag", "magic", "ly", "lly"] output: - 1 : True - name: "testcase 2" inputs: - 1 : raincoats - 2 : ["rain", "oats", "coat", "s", "rains", "oat", "coats", "c"] output: - 1 : True - name: "testcase 3" inputs: - 1 : highway - 2 : [ "crash", "cream", "high", "low", "away"] output: - 1 : False - name: "testcase 4" inputs: - 1 : robocat - 2 : ["rob", "cat", "obo", "bo", "b"] output: - 1 : False - name: "testcase 5" inputs: - 1 : cocomomo - 2 : ["c", "m", "coc", "o", "momo"] output: - 1 : True