News for hackers. Stuff that matters.

gaus

Re:The Perils of Peak Attention on Sunday October 23, 2016 @08:03PM (#12776037)
Great read. I often compensate in life by turning up the intensity, finding new things to interest me, etc. So, it's refreshing to hear a justification for learning to enjoy moments of thoughtlessness and solitude when they come about.
This is a good resource we used in a university course I took on algorithm design and analysis...

http://jeffe.cs.illinois.edu/teaching/algorithms/

I would probably recommend studying individual classes of algorithms, and to only move on when you feel ready, as opposed to learning algorithms in ascending difficulty (at the risk of learning them in a haphazard fashion).

VisuAlgo is another cool site that has lots of algorithm visualizations... http://visualgo.net

And, if you can handle the dude's voice, I recommend checking out Xoax.net's algorithm videos... http://xoax.net/comp_sci/crs/algorithms/index.php

What you will probably find is that it's more valuable to gain experience designing your own algorithms using tried-and-true techniques such as dynamic programming, greediness, divide-and-conqur, linear programming, etc. Also keep in mind that data structures are closely linked to algorithms, and vice versa. If you are not familiar with big-O notation I suggest you begin there as it can be used as a measure of both an algorithm's time complexity and its data complexity.

Re:Ask HN: How do you stay focused? on Wednesday October 05, 2016 @11:05PM (#12649927)
Vyvanse