We use Java Applet to track all mouse events and return the coordinates of the cursor.
Return a binary matrix that gives 1s for the block where queens are placed. We use Backtracking to solve this problem
This famous coding interview project explains how to balance a string of brackets in Java using stack