Top 50
Topic
~20h total · Updated weekly · Last refresh Jul 24

Top 50 Two Pointers Interview Questions

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

Find Target Sum Pairs
Easy

Return all unique integer pairs that sum to a target using sorting or a hash-based approach.

Hash TablesArraysTwo Pointers
Recently asked
MetaOpenXRecro
Two Sum in Unsorted Array
Easy

Find two indices in an unsorted array whose values sum to a target using a hash table in O(n) time.

Hash TablesArraysStrings
Recently asked
NiCEAmazonUniversity of Utah
Longest Unique Character Substring
Medium

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

Hash TablesStringsSliding Window
Recently asked
Capital OneWalmartMeta
Reverse a String In Place
Easy

Reverse a string represented as a character array using a two-pointer approach in O(n) time.

RecursionArraysStrings
LiteratiLatchQVC
Approaching Medium LeetCode Problems
Medium

Explain a repeatable approach for solving medium LeetCode problems, including pattern recognition and time-space tradeoffs.

Hash TablesArraysTwo Pointers
Recently asked
FacebookMercorUC San Diego
Check String Palindrome Validity
Easy

Determine whether a string is a palindrome using a two-pointer scan from both ends.

StringsTwo Pointers
Air Apps& General IntuitionOpenAI
More Coding 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

Open any question for its full solution and discussion.

Browse all questions →