I approached the situation by applying a trie and carrying out a depth-very first lookup. Here's the code:
provided an assortment of strings text (without the need of duplicates), return all of the concatenated words https://fraseresno581481.aboutyoublog.com/30345528/the-best-side-of-sssssssssserrrrrrrrrrrrverrrrrrrrr