开发者

Which algorithms do you advise to learn first [closed]

开发者 https://www.devze.com 2023-02-09 02:31 出处:网络
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing
Closed. This question is opinion-based. It is not currently accepting answers.

Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.

Closed 9 years ago.

开发者_运维技巧 Improve this question

I have started programming few years ago. and generally i use for programming C or C#. and now i want to learn some algorithms. to learn and to teach my friends.

so which algorithms do you advise for beginners?


Algorithms for searching and sorting are usually used first in teaching algorithms to CS students. So you may want to start there.

For instance, see Sorting Algorithms.


Here it is a book set about algorithms in general -> Art of Computer Programming


Subscribe at Projet Euler, tons of original algorithm, teaching you a lot of optimisation.

http://projecteuler.net/


You may already started many years ago, do you remember how long division works?

for more normal compsci stuff perhaps insertion sort, its simple, and unlike bubble sort a bit more useful


Going to add algorithms concerning trees and, more generally, graphs to the list. They are everywhere in programming, learning to recognize and exploit them is crucial to efficiently solve a large amount of problems (maybe even the majority of all problems programmers encounter).

0

精彩评论

暂无评论...
验证码 换一张
取 消