TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Fastest Way to Learn Data Structure and Algorithms?

5 点作者 Rakib_7超过 2 年前
So I am learning algorithms recently, I have learned Sorting and searching ones but I am forgetting them constantly. How can I understand them so that I don't have to always look for the solutions. Any tips or resources appreciated.

6 条评论

raincom超过 2 年前
In any algorithm, you see temporary data structures, ranging from string variables to abstract data types(say, arrays, queues, stacks, priority queues, etc). So you have to remember which to use in what kind of problem solving: in depth first search, the temp one is a stack; in breadth first search, the temp one is a queue.<p>Similarly, in some set of problems, you need to remember tricks wrt swapping members in a structure and start solving the problem again.<p>Wherever you have troubles, jot down and refocus on those problems after a month. It’s like spaced repetition. Spaced repetition is not necessary if you are involved with such projects all the time, like the way library writers do.
AstixAndBelix超过 2 年前
The same way you study anything else: spaced repetition, active recall, memory palace, etc.
tsingy超过 2 年前
I&#x27;m doing this <a href="https:&#x2F;&#x2F;sp21.datastructur.es&#x2F;" rel="nofollow">https:&#x2F;&#x2F;sp21.datastructur.es&#x2F;</a> + leetcode.
jytechdevops超过 2 年前
kunal kushwaha (not sure if i spelled the last name right) really helped me fill in some gaps.<p>that being said, i had to do a little bit of leetcode instructions + books + algoexperts + youtube to really grasp all the gaps I had in my knowledge.<p>everyone has their own preferred way, i just wanted to share that it took various resources for me.
评论 #34464455 未加载
sn9超过 2 年前
Check out the <i>Learning How to Learn</i> course on Coursera.
swman超过 2 年前
Implement them