3 ms·
I suggest you to read a book about algorithms. This one is pretty good: "Introduction to Algorithms" by Cormen and Rivest.
by JoulinRouge 12y ago
I suggest you to read a book about algorithms. This one is pretty good: "Introduction to Algorithms" by Cormen and Rivest.
- andrewstuart2 12y agoThere is also a lot of great material on Coursera, MIT OpenCourseWare, etc. on algorithms.
- acomjean 12y agoI second that, but would add data-structures to it. They go hand in hand. Being familiar with whats available will let you choose the correct one. Using the right data structure and algorithm for the job can your code significantly faster.
- avinassh 12y agoThis was asked recently in Ask HN: https://news.ycombinator.com/item?id=8951241 https://news.ycombinator.com/item?id=8951241