Data Structures & Algorithms
237 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- Longest Substring Without Repeating Charactershistorical
Find the longest substring without repetition using a brute-force set approach and a sliding window.
- Find First and Last Position of Element in Sorted Arrayhistorical
LeetCode notes on finding the first and last position of an element in a sorted array.
- Evaluate Divisionhistorical
Use weighted union-find to evaluate division relationships between variables.
- Hamming Distancehistorical
Compute the Hamming distance between two integers using bitwise operations.
- Find First and Last Position of Element in Sorted Arrayhistorical
LeetCode notes on finding the first and last position of an element in a sorted array.