Boggle - determine all possible words
Anonymous
My answer was the unoptimized version, start at each cell in the grid, move in all possible directions, keep note of cells visited during this recursive cycle, append value to string, check if word, add to list if valid. Optimize through the use of a trie and check if current string serves as prefix for any words, otherwise kill the recursion call early
Check out your Company Bowl for anonymous work chats.