Data Structure Summary

Source: Internet
Author: User

1. Common Data Structures

Linear: array, linked list, queue, stack,Block array (array + linked list), Hash table, double-end queue

Tree:Heap (large and small heap),Trie tree (letter tree or dictionary tree), Suffix tree,Suffix tree Group, Binary sorting tree, binary balancing tree, B ++/B-, aVL,Treap, Red/black tree,Splay tree,Line Segment tree,Tree Array

Figure: Figure

Others:Query set, Rmq

2. Common Algorithms

(1) Basic Ideas: enumeration, recursion, sub-governance, simulation, greedy, dynamic planning, pruning, and backtracking

(2) graph algorithms: depth-first traversal and breadth-first traversal, shortest path, Minimum Spanning Tree, and Topology Sorting

(3) string algorithm: string SEARCH, hash algorithm, and KMP Algorithm

(4)Sorting Algorithm: Bubble, insert, select, fast sort, merge sort, Heap Sort, and bucket sort

(5) Dynamic Planning: knapsack problem, Longest Common subsequence, and optimal binary search tree

(6) Number Theory: prime number, integer, hexadecimal conversion, same-modulus operation,

(7) combination: Full Arrangement Algorithm and full combination algorithm

(8) Others:LCA and rmq Problems

Adding ......

 

Reposted from Dong's blog

Link:Http://dongxicheng.org/structure/structure-algorithm-summary/

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.