String[] words = {"cat", dada", breath" , "taking", "doll"}
String pattern = "drctkla"
String pattern = "rdatlbohe"
Answer - cat
Answer - breath
There is a list of words given to you and a string pattern.
Find the word in the pattern.
Letters can be in any order.
Comments (5)

