This article shows how to solve the N queens problem in 20 lines of code.
There's 10 types of people in the world, those who know binary and those who don't.