Re:Ask HN: How do I choose the right resource to learn CS fu...
by gregors on Tuesday December 31, 2019 @01:40PM
(#21923293)
"Algorithms, 4th Edition" is demonstrated using Java. They make use of a graphical library that helps show different runtimes visually. I ported that library from Java Swing/AWT to Ruby (TK) if you'd like to go through the book using ruby instead of Java. Looking at the TK code you could probably also port it to Python pretty easily.
https://github.com/gregors/standard_draw_tk