[ prog / sol / mona ]

prog


Is it important to learn algorithms?

1 2021-09-13 00:18

How much knowledge about algorithms should programmers have? Do programmers need to master the contents of Introduction to Algorithms by CLRS?

2 2021-09-13 12:54

Learning algorithms and data structures is way more important than learning a ton of languages.

3 2021-09-13 16:57

>>2
Really? I program in C, C++, Java, Python, R, Standard ML, OCaml, Haskell, Prolog, Common Lisp, Scheme, Racket, Clojure, Mathematica, MATLAB, Ada, Erlang, Elixir, JavaScript, PHP, Smalltalk, Bash.

Perhaps I should stop learning new languages and devote a year for mastering algorithms?

What book should I read? CLRS?

4 2021-09-13 18:28

You know, out of that list, the only one I really doubt is C++. There's no human on Earth that can keep all its idiosyncrasies in head. Copy, reference, move, forward, a single/double/triple &, lr/gl/pr/x value, like what the fuck is that language.

5 2021-09-13 18:53

>>3
The most important thing about algorithms and data structures is to know when to use them (ie. the pros and cons and cost of a data structure/algorithm)

CLRS?

CLRS is one of the most recommended books on algorithms. The Art of Computer Programming by Knuth is another book (series) that you might find interesting. MIT OpenCourseWare also has some relevant video lectures.
https://www.youtube.com/watch?v=HtSuA80QTyo&list=PLUl4u3cNGP61Oq3tWYp6V_F-5jb5L2iHb&index=1
https://www.youtube.com/watch?v=2P-yW7LQr08&list=PLUl4u3cNGP6317WaSNfmCvGym2ucw3oGp&index=1

6 2021-09-16 07:28

What about Grokking Algorithms: An Illustrated Guide for Programmers and Other Curious People by Aditya Bhargava ?

7 2021-09-16 13:20

>>6
Is that a book with cute drawings for children programmers?

8


VIP:

do not edit these