Question: 3 . Kitty in horror house ALL A Kitty is locked inside a horror house. There are distinct random words written on the wall. Kitty
Kitty in horror house
ALL A Kitty is locked inside a horror house. There are distinct random words written on the wall. Kitty met sahose inside the houve. Ghosi affered to help, but or one condition, he said will give you a word. you need to tell if you can create this word using the words writien on the walls of the harrec howse. If you are correct, IIl take you out of the house else algorithm which can help the Kithy.
You noed to return true if yes else return false.
Note: The same word in the dictionary can be
reused multiple times in the segmentation or not.
Example
insot:
st Thackerrank"
wordDics hacker "rank"
ouput:
true
Example
Has
Search
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
