top | item 7263318

Ask HN: what are the best ways to learn algorithms and data structes?

6 points| nitin1213 | 12 years ago | reply

I have recently started learning to program and have fiddled with some simple c programs Like calculator,matrix addition etc from a c textbook. but I am not able to understand how those programs are written. I know most part of the syntax but if anybody asks me to write a program to do x I don't know how to do it. I learnt that its essential to know algorithms in order to write good programs.how do I get started with it?I am fully determined to become proficient in programming and willing to put in the required effort.how do I go from my present state to a situation where I will be able to write awesome programs.?I have made fabrice bellard my idol.:-) anybody willing to mentor me over email? give me some suggestions.

5 comments

order
[+] brudgers|12 years ago|reply
Knuth, TAoCP, vol I. Because i t includes the maths and Assembly Language too, it perhaps qualifies as the hard way.