Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 201 Bytes

File metadata and controls

8 lines (5 loc) · 201 Bytes

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