+-----+ |#4## | |# #| | 2#3#| |1# 0 | +-----+ ISLAND COUNT = 5 ISLAND: (0,0) (0,1) ISLAND: (2,0) (3,0) ISLAND: (4,1) (4,2) ISLAND: (2,2) ISLAND: (1,3) Location (1,0) = 4 Location (1,2) = 2 Location (3,2) = 3 Location (0,3) = 1 Location (3,3) = 0 Puzzle is solved +-----+ | 4## | | # # | |#2 3 | |1 0 | +-----+ ISLAND COUNT = 3 ISLAND: (2,0) (3,0) (3,1) ISLAND: (1,1) ISLAND: (0,2) Location (1,0) = 4 Location (1,2) = 2 Location (3,2) = 3 Location (0,3) = 1 Location (3,3) = 0 Puzzle is solved +-----+ | 4## | | # # | | 2 3 | |1# 0 | +-----+ ISLAND COUNT = 3 ISLAND: (2,0) (3,0) (3,1) ISLAND: (1,1) ISLAND: (1,3) Location (1,0) = 4 Location (1,2) = 2 Location (3,2) = 3 Location (0,3) = 1 Location (3,3) = 0 Puzzle is solved Found 3 Solutions