What is the most number of white rooks that can be placed on a chessboard in such a way that a black king, also placed on the board, is not under attack?
The king may be placed anywhere on the board.
Bonus: Generalize it for an chessboard.