King And Castles

Answer :

There are various ways of building the ten castles so that they shall form five rows with four castles in every row, but the arrangement in the next column is the only one that also provides that two castles (the greatest number possible) shall not be approachable from the outside.
It will be seen that you must cross the walls to reach these two.

Math Genius