The algorithm implements various data structures and algorithms.
-
The c++ folder is implemented in the c++ programming language, and the file suffix is .cpp.
-
The c folder is implemented in the c programming language, and the file suffix is .c.
-
The utils folder contains common modules that implement basic data structures and algorithms, including linear tables, stacks, queues, trees, and more.
- Ugly Number
- Longest Palindromic Substring
- Minimum Stack
- Regular Expression Matching
- Short-Circuit Evaluation
- Symmetrical Tree
- Circular Linked List
- Valid Parentheses
- Merge K Sorted Lists
- Remove Duplicates from Array
- Search in Rotated Sorted Array
- Multiply Strings
- Spiral Matrix
- Climbing Stairs
- Subsets
- Gray Code
- Maximum Depth of Binary Tree
- Best Time to Buy and Sell Stock
- Single Number
- Intersection of Two Linked Lists
- Boyer-Moore Voting Algorithm
- Edit Distance
- Max Sliding Window
- Constrained Subset Sum
- Trap
- All cases of this project comes from https://leetcode-cn.com/ and https://www.nowcoder.com/.
- Commercial reproduction is strictly prohibited, and please indicate the source for non-commercial reproduction.