【Daily Data Structure and Algorithm】

There are 10 data structures: array, linked list, stack, queue, hash table, binary tree, heap, jump table, graph, Trie tree; 10 algorithms: recursion, sorting, binary search, search,
hash algorithm, greedy algorithm , divide and conquer algorithm, backtracking algorithm, dynamic programming, string matching algorithm.

Article directory

Vue source code related practice questions

  1. Sword Finger Offer II 082. Combinations with sets of repeated elements - LeetCode
  2. Jianzhi Offer II 016. The longest substring without repeated characters - LeetCode
  3. Jianzhi Offer 48. The longest substring without repeated characters - LeetCode
  4. Jianzhi Offer II 019. Delete at most one character to get a palindrome - LeetCode
  5. 1446. Consecutive Characters - LeetCode
  6. Sword Finger Offer II 119. The longest continuous sequence - LeetCode

5.5 Remove duplicate elements from an ordered array

  1. 26. Remove Duplicates in Sorted Array - LeetCode
  2. 83. Delete duplicate elements in sorted list - LeetCode

1. Basic algorithm idea

1-1 Backtracking/recursion

2023/1/31
2023/1/31

1-2 Dynamic programming dp

2023/1/31
2023/2/1

1-3

2. Sorting

2-1 O(n 2 )

2-1-1 Bubble sort

2-1-2 Insertion sort

2-1-3 Selection sort

2-1-4 Hill sort

2-2 O(nlogn)

2-2-1 Merge sort

2-2-2 Quick Sort

2-2-3 Heap sort

2-3 O(n)

2-3-1 Counting sort

2-3-2 Radix sorting

2-3-3 bucket sort

Three, tree

3-1 Binary tree

1/25
2023/2/1

3-1-1 Balanced binary tree

3-1-2 Binary search tree

1/25

3-1-3 Balanced Binary Search Tree

3-1-4 complete binary tree

1/26

3-1-5 full binary tree

3-2 Multi-way search tree

在这里插入图片描述

3-3 piles

3-3-1 small top pile

3-3-2 big top pile

3-3-3 Fibonacci Heap

3-3-4 binomial heap

3-3-5 Priority queue

4. Figure

4-1 Storage of graphs

4-1-1 Critical Matrix

4-1-2 Adjacency list

4-2 Topological sort

4-3 Shortest path

4-4- Critical path

4-5 Minimum spanning tree

4-6 Bipartite graph

4-7 Maximum flow

5. Search

5-1 Depth-first search

5-2 Breadth-first search

6. Search

6-1 Linear table lookup

6-2 Tree Structure Search

6-3 散列表查找

七、 散列表

7-1 散列函数

7-2 冲突解决

7-2-1 链表法

7-2-2 开放寻址法

7-2-3 其他

7-3 动态扩容

7-4 位图

八、 线性表

8-1 数组

1/28

8-2 链表

8-2-1 单链表

1/28

8-2-2 双向链表

8-2-3 循环链表

8-2-4 双向循环链表

8-2-5 静态链表

8-3 栈

8-3-1 顺序栈

8-3-2 链式栈

8-4 队列

8-4-1 普通队列

1/26

8-4-2 双端队列

8-4-2 双端队列

8-4-2 双端队列

8-4-5 阻塞并发队列

Guess you like

Origin blog.csdn.net/hannah2233/article/details/128757503