Skip to content

jameskennethrobinson/quiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quiz

Q: Given a list of words like https://github.com/NodePrime/quiz/blob/master/word.list find the longest compound-word in the list, which is also a concatenation of other sub-words that exist in the list. The program should allow the user to input different data. The finished solution shouldn't take more than one hour. Any programming language can be used, but Go is preferred.

Fork this repo, add your solution and documentation on how to compile and run your solution. Please send us a link to your repo.

Obviously, we are looking for a fresh solution, not based on others' code.

operation

  1. Fork/clone this repo to your local machine

  2. Navigate to root of local copy

  3. Enter "node findLargest" + your desired .txt file located in the root directory

(e.g. node fineLargest word.txt)