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.
The source file is src/quiz.cpp. Compile it by 'g++ -o quiz -std=c++11 src_quiz.cpp' Then execute the binary file by providing the wordlist as a single parameter on the command line by './quiz word.list'.