Among the years, I have seen several books that provide sharp academic knowledge in a ludic way.
This is a list I gather together :
- TAOCP 4 (has some of it because of handle puzzles).
https://devwebcl.blogspot.com/2015/10/books-for-programming-challenges-puzzles.html
https://devwebcl.blogspot.com/2018/12/musician-books-entities.html