TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

6 pointsby nitin1213over 11 years ago
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.

4 comments

saranshkatariaover 11 years ago
There&#x27;s this introduction to algorithms course by MIT course ware which I found useful while I was learning. You can see it here: <a href="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-046j-introduction-to-algorithms-sma-5503-fall-2005/" rel="nofollow">http:&#x2F;&#x2F;ocw.mit.edu&#x2F;courses&#x2F;electrical-engineering-and-comput...</a> The video lectures are pretty good!
conexionsover 11 years ago
<a href="https://www.coursera.org/course/algs4partI" rel="nofollow">https:&#x2F;&#x2F;www.coursera.org&#x2F;course&#x2F;algs4partI</a> The Cousera couse above is a really good. Its centered mostly around Java, but the basic principles, of course, can be used in any programming language.
ahazred8taover 11 years ago
The Algorithm Design Manual by Steven Skiena is well regarded, has war stories, case studies, homework assignments. - Find it at <a href="http://www.algorist.com/" rel="nofollow">http:&#x2F;&#x2F;www.algorist.com&#x2F;</a>
评论 #7292709 未加载
brudgersover 11 years ago
Knuth, <i>TAoCP, vol I</i>. Because i t includes the maths and Assembly Language too, it perhaps qualifies as the hard way.