Live data from Hacker News

Summary of all the MIT Introduction to Algorithms lectures (2009)

catonmat.net

1–10 of 10 posts

Re: Summary of all the MIT Introduction to Algorithms lectures (2009)

#2
This was one of the earliest introductions to algorithms which I could understand. Thank you Peter (and MIT OCW) for diligently cataloging the notes, you've no idea how much you helped me to get an understanding of algorithms. Thanks again.

Apart from this his awk,sed and perl oneliners are worth to act as a reference as well.

Re: Summary of all the MIT Introduction to Algorithms lectures (2009)

#3

This was one of the earliest introductions to algorithms which I could understand. Thank you Peter (and MIT OCW) for diligently cataloging the notes, you've no idea how much you helped me to get an understanding of algorithms. Thanks again. Apart from this his awk,sed and perl oneliners are worth to act as a reference as well.

His article about bit manipulation is very nice, as well. https://catonmat.net/low-level-bit-hacks

Re: Summary of all the MIT Introduction to Algorithms lectures (2009)

#4

This was one of the earliest introductions to algorithms which I could understand. Thank you Peter (and MIT OCW) for diligently cataloging the notes, you've no idea how much you helped me to get an understanding of algorithms. Thanks again. Apart from this his awk,sed and perl oneliners are worth to act as a reference as well.

His article about bit manipulation is very nice, as well. https://catonmat.net/low-level-bit-hacks

Hackers Delight is a pretty fun book on low level algorithms. Lots of little tidbits like how to convert a divide by a constant into a multiple by a different constants and a shift. Thought these days the compilers are good enough to do the same thing but now when you look at the resulting assembly you can figure out how they are doing that.

Re: Summary of all the MIT Introduction to Algorithms lectures (2009)

#5

This was one of the earliest introductions to algorithms which I could understand. Thank you Peter (and MIT OCW) for diligently cataloging the notes, you've no idea how much you helped me to get an understanding of algorithms. Thanks again. Apart from this his awk,sed and perl oneliners are worth to act as a reference as well.

His article about bit manipulation is very nice, as well. https://catonmat.net/low-level-bit-hacks

That's a good call-out. It's natural for me, but I do see people struggle with bit manipulation regularly. A comprehensive, yet plain language intro, with simple examples, is really useful.

You can tell this was developed after extensive interactions with undergrads. It's really well done.

Re: Summary of all the MIT Introduction to Algorithms lectures (2009)

#6
post #4

Earlier quoted context omitted.

His article about bit manipulation is very nice, as well. https://catonmat.net/low-level-bit-hacks

Hackers Delight is a pretty fun book on low level algorithms. Lots of little tidbits like how to convert a divide by a constant into a multiple by a different constants and a shift. Thought these days the compilers are good enough to do the same thing but now when you look at the resulting assembly you can figure out how they are doing that.

Even if compilers are usually good enough, people (mostly in the market making/HFT space) are still doing this kind of stuff. For example, division (and to a lesser extent, multiplication) is still avoided/hacked around in the fast path for these kinds of strategies.

Re: Summary of all the MIT Introduction to Algorithms lectures (2009)

#8

This was one of the earliest introductions to algorithms which I could understand. Thank you Peter (and MIT OCW) for diligently cataloging the notes, you've no idea how much you helped me to get an understanding of algorithms. Thanks again. Apart from this his awk,sed and perl oneliners are worth to act as a reference as well.

His article about bit manipulation is very nice, as well. https://catonmat.net/low-level-bit-hacks

See https://graphics.stanford.edu/~seander/bithacks.html

Re: Summary of all the MIT Introduction to Algorithms lectures (2009)

#9
post #5

Earlier quoted context omitted.

His article about bit manipulation is very nice, as well. https://catonmat.net/low-level-bit-hacks

That's a good call-out. It's natural for me, but I do see people struggle with bit manipulation regularly. A comprehensive, yet plain language intro, with simple examples, is really useful. You can tell this was developed after extensive interactions with undergrads. It's really well done.

done.

Re: Summary of all the MIT Introduction to Algorithms lectures (2009)

#10
post #9
post #5

Earlier quoted context omitted.

That's a good call-out. It's natural for me, but I do see people struggle with bit manipulation regularly. A comprehensive, yet plain language intro, with simple examples, is really useful. You can tell this was developed after extensive interactions with undergrads. It's really well done.

done.

and done well. Over the kind of coffee that matters. Nice job.