It all depends on the shape and size of the castle, and the size of the blocks. More information is needed.
If the castle has a square base, then I would pick 784 as the nearest even square (28*28=784) and start with a square of blocks. Then I would take blocks from the centre and build up the sides (to make walls and ramparts) and corners (to make towers) leaving a vacant courtyard in the centre.