Two Pointers problems
13 problems, easiest first. Solve in JavaScript or Python.
- Alphanumeric Palindrome Checkstrings · two-pointerseasy
- Merge Two Sorted Listsarrays · two-pointers · sortingeasy
- Middle of a Linked Listlinked-list · two-pointerseasy
- Pattern Hidden in a Streamtwo-pointers · stringseasy
- Push Zeros to the Endarrays · two-pointerseasy
- Sorted Squares of Readingstwo-pointers · arrayseasy
- Fewest Cable Car Podstwo-pointers · greedy · sortingmedium
- Fold a Linked Listlinked-list · two-pointersmedium
- Shared Free Slotstwo-pointers · arraysmedium
- Where Does the Cycle Begin?linked-list · two-pointers · floyd-cyclemedium
- Widest Water Containerarrays · two-pointersmedium
- Zero-Sum Triplesarrays · two-pointers · sortingmedium
- K-th Smallest Pair Gapbinary-search · two-pointers · sortinghard
Other topics
Strings 29Arrays 29Hash Map 29Math 22Sorting 19Simulation 16Dynamic Programming 16Greedy 15Sliding Window 13Matrix 13Graph 13Heap 12Binary Search 11Parsing 11DevOps 10Tree 10Stack 9Linked List 9Bit Manipulation 9Bfs 9Fintech 8Frontend 8Dfs 7Prefix Sum 6Counting 6Machine Learning 6Data Processing 6Recursion 6Backtracking 6Statistics 5Intervals 5Queue 5Union Find 4Dates 4Divide And Conquer 4Topological Sort 4Stacks 3Geometry 3Binary Search Tree 3Shortest Path 3Trie 3