Show HN: A coloring book of data structures and algorithms
523 pointsI'm making a coloring book of data structures and algorithms for programmers and students. So far I have a prototype page for a sorting algorithm (albeit a rather simple one).
Here the Selection Sort coloring pages you can print.
https://coderscoloringbook.com/selectionsort
And here is how I colored mine.
https://coderscoloringbook.com/selectionsortcolored
A coloring book is not quite enough to teach algorithms on its own, but I really get a lot from visual reinforcement of what I learn from books/lectures.
Do you think having coloring pages like this could be a helpful addition to the usual studying approach of textbooks, lectures and online coding practice?
Or is it just a fun little break from coding without too much educational value?
Comments (105) 28 threads
Show all comments
Showing thread 3 of 28
"Excellent sparkline-like graphics from Robert Sedgewick, Algorithms in C (1998)
Sparklines and sparkline-like graphs can also move within complex multivariate spaces, as in these 9-step sequential results (reading down the columns) in merge-sorting 5 different types of input files. Four variables and 18,000 numbers are depicted in these small multiples.
https://www.edwardtufte.com/bboard/images/00027o-2539.jpg
Here are the results of 7 sequential passes to sort a 200 element file in bottom-up merge sort:
https://www.edwardtufte.com/bboard/images/00027o-2540.jpg
These merge-sort images above are a bit large in order to accommodate the resolution of a computer screen. But this material can achieve sparkline-resolutions when printed out on paper.
-- Edward Tufte"
[1] https://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=...
[edit: formatting]
[1] Article -- https://bost.ocks.org/mike/algorithms/ [2] Talk -- https://vimeo.com/112319901