Data structure classification and important leetcode question types

Data structure classification

Linear: array, linked list, stack, queue, hash table, bitmap
Tree: binary tree, Huffman tree, binary search tree, multiple search tree, heap, dictionary tree
Graph: directed graph, directed network, undirected Figure, undirected network

Leetcode question type


Sum of two numbers Climbing stairs
Reversing binary tree
Reversing linked list
LRU caching mechanism
Longest palindrome substring
Valid parenthesis
The k-th largest element in the middle of the array
Implementing the tire tree
Edit distance

Guess you like

Origin blog.csdn.net/hardyer/article/details/114263204