This is great live/github based book.
Other great resources are Michael R. Clarkson's (from Cornell) videos [0] and book-like format [1].
I took a lot of inspiration from it when playing with rb-trees [2] and functional, ocaml-looking typescript in general [3].
[0] https://www.youtube.com/playlist?list=PLre5AT9JnKShBOPeuiD9b...
[1] https://cs3110.github.io/textbook/cover.html