What are the 10 algorithms and data structures that programmers must know? _ Algorithm

Source: Internet
Author: User

Algorithm

Figure Search (breadth first, depth first) depth priority is particularly important

Sort

Dynamic programming

Matching algorithm and network flow algorithm

Regular expressions and string matching

Data

Diagram (the tree is particularly important)

Map

Heap

Stacks/Queues

Tries | Dictionary Tree

Additional recommendation

Greedy algorithm

Probability method

Approximate algorithm

Above is the recommendation of Arjun Nayini, the following is the recommendation of Ken George

Note: There is no specific priority below

Algorithm:

Three-way division-Quick Sort

Merge sort (more extensibility, complexity similar to quick sort)

DF/BF search (to know how to use the scene)

Prim/kruskal (minimum spanning tree)

Dijkstra (Shortest path algorithm)

Selection algorithm

Data

HashMap (Really want to know all the hash structure)

Pictures and trees (red and black trees are very studious) (Red-black trees are good to learn)

Heap (priority queue)

Stack/queue (basic content that must be known)

Tries | Dictionary Tree

A * and genetic algorithms are also interesting.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.