Homepage
Open in app
Sign in
Get started
Array
Backtracking / DP / Greedy
Heap / Linked List
Two Pointers / Binary Search
Tree / Graph
Backend
Two Pointers / Binary Search
[Leetcode] Container With Most Water
[Leetcode] Container With Most Water
A classic practice for two pointers.
PHIL
Jan 31, 2022
[Leetcode] Binary Search
PHIL
[Leetcode] Backspace String Compare
PHIL
[Leetcode] Find Minimum in Rotated Sorted Array
PHIL
[Leetcode] Longest Repeating Character Replacement
PHIL
[Leetcode] Longest Substring Without Repeating Characters
PHIL
[Leetcode] Subarray Product Less Than K
PHIL
[Leetcode Pattern] Binary Search
[Leetcode Pattern] Binary Search
While binary search seems an ordinary technique, there are many special cases that require some modification of the usual template.
PHIL
Jun 5, 2022
[Leetcode] Trapping Rain Water
While the concept is two pointers converging from opposite sides, the implementation is more in a dp form.
PHIL
Jul 2, 2022
[Leetcode Pattern] Two Pointers
[Leetcode Pattern] Two Pointers
Two pointers are very commonly used in leetcode problems. The purpose is mostly to turn nested loop traversal solvable in linear mode.
PHIL
Jul 6, 2022
About Coding Memo
Latest Stories
Archive
About Medium
Terms
Privacy
Teams