LinkedIn interview question

mutex and communication between processes backtracking easy question (count islands)