Ask HN: Best programming language to learn Algorithms?
5 comments
Learning algorithms should be language-independent.
Use whatever language you're most comfortable with, or start with C.
Use whatever language you're most comfortable with, or start with C.
python would let you concentrate on the code and not on other issues. It also has quick access to many data structures like sets and maps with shorthand syntax.
e.g. checking for set membership: if 3 in {1,2,3,4,5}:
e.g. checking for set membership: if 3 in {1,2,3,4,5}:
'C' is the best for anyone with minimalist mindset
[deleted]
Rust
Actually tempted by Robert Sedgewick's C series. What do you think?