Visualizing Algorithms (2014)
bost.ocks.org
bost.ocks.org
https://news.ycombinator.com/item?id=14806488
https://news.ycombinator.com/item?id=7949995
— and the author’s HN posts/comments:
For those unaware, Mike created https://observablehq.com/ and d3.js
http://extremelearning.com.au/unreasonable-effectiveness-of-...
(Yes, no https - I promise the visualizations are worth it!)
Search about Depth-First Search and Breadth-First Search algorithms, they are very short and easy to understand.
You will be able to build and solve your own mazes in no time.
The only place in industry where this should be used is in interviews and candidates should never be asked to do it again if they pass that phase. We cannot have people working on stuff they interviewed with.
There are billions of us and learning outcomes are varied in part because teachers vary in skill. With so many chances and plenty of bad teachers, it is inevitable that some small fraction of the population gain the perception that trees aren't taught in CS programs even though they almost always are.
Teachers can have a significant effect on the learning process, but learners have a much larger one. Other things like available learning resources and institutional incentives may have larger effects than teachers, curricula, or even (variation among) learners.
That said, it's not like I was taught the specifics of generating mazes, even though there was additional content on it in the textbook etc. - I'm talking more about the general algorithms.
But I was saying that when guessmyname said, "programmers who went through college and/or university didn’t learn this stuff there," they're probably mostly correct, regardless of whether this stuff was taught, because most programmers who went through college and/or university were mostly focused on getting good grades, not learning, and you don't need to learn this stuff to get good grades. So your response that it was taught is not entirely to the point.
Beautiful work.