Two words “interlock” if taking alternating letters from each forms a new word. For example, “shoe” and “cold” interlock to form “schooled”, and "toe" and "old" interlock to form "tooled"
My favorite so far is "Brad" "ami"
Write a program that finds all pairs of words that interlock.
Hint: There is no need to enumerate all pairs!
Challenge: Can you find any words that are three-way interlocked; that is, every third letter forms a word, starting from the first, second or third?
150060959907/20/201711:59pm
Additional Comments:
Rubric
Can't change a rubric once you've started using it.