testcases: - name: "testcase 1" inputs: - 1 : "hit" - 2 : "cog" - 3 : ["hot", "dot", "lot", "log", "cog"] output: - 1 : 5 - name: "testcase 2" inputs: - 1 : "hit" - 2 : "cog" - 3 : ["hot", "dot", "lot", "log", "com"] output: - 1 : 0 - name: "testcase 3" inputs: - 1 : "hat" - 2 : "log" - 3 : ["hot","not", "dot", "lot", "cog"] output: - 1 : 0 - name: "testcase 4" inputs: - 1 : "dog" - 2 : "cat" - 3 : ["hog", "dot", "pot", "pop", "mop","map","cap","cat"] output: - 1 : 8 - name: "testcase 5" inputs: - 1 : "dogs" - 2 : "frog" - 3 : ["play", "jump", "land", "pack", "cats","comb","pick"] output: - 1 : 0