Every time after a long holiday, I will habitually reflect and review their own technology, especially the Dragon Boat Festival. Why did I write about...
Linked list structure can make full use of computer memory space, realize flexible memory dynamic sequence table construction needs to know the size of data...
Preface Today is the second day of our presentation on the "knapsack problem" in dynamic programming. Of all the backpack problems, "01 backpack problem" is...
The oldest string without repeating characters. Given a string, find the length of the smallest string that does not contain repeating characters. A string. Double...
Preface Today is the first day of our presentation on the knapsack problem in dynamic programming. On this happy Friday, we are officially blowing the...
Note: There are related exercises in the interview book, but the idea is relatively unclear, and there are typesetting mistakes. The author has rewritten the...
This article introduces the idea of hash table in data structure, the meaning of hash function, hash conflict and solutions (open addressing, zipper method), and...
TreeSet TreeSet is an ordered set based on binary tree implementation, and elements cannot be null. The most important feature of TreeSet is orderliness. The...
Preface Today is the third day of our presentation on the "knapsack problem" in dynamic programming. Of all the backpack problems, "01 backpack problem" is...
16.25. LRU cache. NC93 designs the LRU cache structure. Using your knowledge of data structures, design and implement an LRU (least recently used) caching mechanism....
Preface Today is the fifth day of our presentation on the "knapsack problem" in dynamic programming. Starting with this post, we will complete three full...
Complexity analysis is a basic skill in implementing data structures and algorithms. The purpose of learning data structures and algorithms is to write code that...
Suddenly recently rediscovered the brush algorithm in school and the fun of learning data structure, failed to play these foundation at school, so I decided...
Given a string containing only lowercase letters, remove duplicate letters from the string so that each letter appears only once. Ensure that the lexicographic order...