Sponsored
Use these hints if you're stuck. Try solving on your own first.
Add all the words to a trie.
Check the longest path where all the nodes are words.
Solve with full IDE support and test cases