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

When I started reading this article I figured he was going to deliver a lesson on when it's better to fall back to less efficient algorithms when you can be sure of a small n. Territory that's been covered before, sure, but also a topic with a lot of room left for discussion.

Instead we get a CS 101 discussion of big-oh?

What?

Do I really want to take advice from someone whose first instinct was to implement insertion sort?

I'll counter: Here's a gem from CS 101 that not everybody's seen: Sorting out Sorting (edit: see the better link posted below)

Even if you know algorithms the video is still stylistically interesting. It's a good example of how to teach quantitative material. The YouTube video is speeded up, but the presentation of n^2 sorts is more effective when each of the demos runs for a painfully long two minutes.



"Sorting out Sorting" at normal speed, about 32 minutes long: http://video.google.com/videoplay?docid=3970523862559774879 (Thanks, kcl.)




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

Search: