Efficient solution to the N Queens problem (Ruby, crystal, java, c)
medium.com