Eight Queens in Javascript

Computer science textbooks use Eight Queens as an introduction to recursion. The problem concerns the placement of eight queens on a chessboard such that no queen attacks another. I remember trying to find a solution on paper but failing miserably. Ten years later, I decide to ‘complete’ my computer science education by implementing a solution … More Eight Queens in Javascript

Clojure vs Java(script)

Clojure claims to eliminate the boilerplate code and ceremony required by mainstream languages. We have been interviewing for developer roles recently and to make the process more interactive, I wrote a small problem for applicants to solve. It occurred to me that I could solve this problem in Java and Javascript (mainstream languages) and then … More Clojure vs Java(script)