Efficient solution to the N Queens problem (Ruby, crystal, java, c) | Dark Hacker News