How to find list of possible words from a letter matrix [Boggle Solver]
My answer works like the others here, but I’ll post it because it looks a bit faster than the other Python solutions, from setting up the dictionary faster. (I checked this against John Fouhy’s solution.) After setup, the time to solve is down in the noise. grid = “fxie amlo ewbx astu”.split() nrows, ncols = … Read more