How to learn algorithms effectively?

There are some tips that i want to share with you about algorithm's learning:

1.Trying to solve a class of problems rather than a problem.
We should often sum up and summarize the topics we have done, and at the same time, we should thoroughly understand the algorithmic ideas behind them, and practice the same type of topics pertinently.
2.Deep but not narrow.
We should have the ability to diverge our thinking. We will be more creative if we try to analyze, think and understand a problem from different perspectives. Creativity is the source of human progress.
3.Share more and discuss more.
A person can walk very fast, but can't go farther. We all need partners and help each other. Perfect the code in dialectics and communication. Open source is the accelerator of human progress.
4.Still waters run deep.
It's good that you have a certain understanding of the field and keep going at a pace that suits you. Interest is gradually cultivated. But many times we face complacency or depression. Sedimentation, more patience, we can see the true meaning behind the code.
5.Take care of yourself!
Scientific learning plan and healthy lifestyle. Don't rush for quick success. Always keep a positive attitude and move forward steadily. Time will give you back.
6.Be grateful!
Thanks to the platform of LeetCode, without it, there would be no transmission of our current ideas.

These are just a few small ideas, limited ability, hope to help you.
Comments (2)