296 | 361,594 | 35,820 |
---|---|---|
articles | words | lines of code |
How can you find the biggest free square in a 2D map with obstacles?
This article shows how to solve the N queens problem in 20 lines of code.
Grab a piece of paper and try to fold your way out of this problem.