Programming Question

Question: Given a list of words, write a program to find the longest word made of other words in the list. Example, Input: cat, banana, dog, nana, walk, walker, dogwalker Output: dogwalker

From: Cracking the Coding Interview [McDowell]

Subject: Hard

Load Another Question


Select a Subject