Top 50
Topic roadmap
Updated weekly · Last refresh Sep 13

Top 50 Two Pointers Interview Questions

The most frequently asked Two Pointers questions across all roles and companies, ranked by real interview frequency. Updated daily.

50questions
~21htotal time
1,209companies covered
Track your progressSign up free to work through all 50 questions and resume where you left off.
Start practicing free →
1
ArraysStart here. 8 questions · ~200 min
2
Hash Tables20 questions · ~500 min
Longest Substring Without RepeatsMedium
Practice
Recently asked

Find the longest substring with all unique characters using a sliding window.

Hash TablesStringsTwo PointersDeepInstinctTaboolaEDF Renewables
Find Two Sum IndicesEasy
Practice
Recently asked

Use a hash map to find two array elements that sum to a target in O(n) time.

Hash TablesArraysSortingEtsyLLuxoft SingaporeNeoDocto
Longest Unique Substring in EnoMedium
Practice
Recently asked

Use a sliding window and hash map to find the longest substring without repeated characters in a string.

Hash TablesStringsTwo PointersInsight GlobalO'Reilly MediaAviso
Two Sum ProblemEasy
Practice
Recently asked

Find two indices in an array whose values add up to a target using a hash map.

Hash TablesArraysTwo PointersConverseonEarnest ResearchEtsy
Detect Cycle in Linked ListEasy
Practice
Recently asked

Use Floyd’s two-pointer algorithm to determine whether a singly linked list contains a cycle.

Hash TablesLinked ListsTwo PointersSigmoidAMD Construction GroupInformatica
More Hash Tables questions with a free account

Sign up to see every question

Create a free account to unlock this list and practice real interview questions.

Get my prep plan
3
Recursion6 questions · ~150 min
Check Palindrome StringEasy
Practice
Recently asked

Use a two-pointer string scan to determine whether a string reads the same forward and backward.

RecursionStringsData StructuresDsv Air & SeaLucid MotorsAfterquery
Palindrome FunctionEasy
Practice
Recently asked

Use two pointers to determine whether a City National Bank reference label reads identically forward and backward.

RecursionStringsTwo PointersTaboolaiHerbSharpSpring
More Recursion questions with a free account
4
Strings5 questions · ~125 min
More Strings questions with a free account
5
Basic Algorithms3 questions · ~75 min
More Basic Algorithms questions with a free account
6
More topics8 questions · ~200 min
More questions with a free account
The finish line: interview-readyComplete all 50 questions to finish this plan.