Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is the first thing I talk about when someone asks me what computer science teaches a person and how it relates to real world. It covers a practical example and lets you touch on topics like algorithmic complexity. And it takes 5 minutes to explain. So I fill the rest of the time by demonstrating a simple sorting algorithm on paper and I finish off by drawing a simple maze and solving it with breadth first search by marking squares with numbers.


Since you mentioned sorting 'on paper', here's the sorting algorithm you'd use as a human sorting papers :)

https://www.quora.com/What-is-the-best-manual-sorting-algori...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: