All problems
› Two Pointer problems
Two Pointer problems
19 Two Pointer DSA practice problems on CampusCode, each with statement, examples and constraints.
297. Reverse a Linked List
Easy
Linked List
305. Find the Middle Node of a Linked List
Easy
Linked List
306. Detect a Cycle in a Linked List (Floyd's Algorithm)
Easy
Linked List
307. Check if Linked List is a Palindrome
Easy
Linked List
309. Merge Two Sorted Linked Lists
Easy
Linked List
314. Find the Nth Node from the End
Easy
Linked List
315. Remove Nth Node from End of List
Easy
Linked List
316. Delete Middle Node of Linked List
Easy
Linked List
319. Check if Two Linked Lists are Identical
Easy
Linked List
325. Find the Starting Point of a Cycle
Easy
Linked List
339. Check if Linked List has Even or Odd Length
Easy
Linked List
341. Rotate Linked List by K Places
Easy
Linked List
343. Find Pair with Given Sum in Doubly Linked List
Easy
Linked List
346. Check if Linked List is Circular
Easy
Linked List
350. Find Common Elements in Two Sorted Linked Lists
Easy
Linked List
353. Append the Last N Nodes to Beginning
Easy
Linked List
451. Find Pair with Given Sum in Sorted Array
Easy
Binary Search
453. Two Sum in Sorted Array (Binary Search Variant)
Easy
Binary Search
454. Count Pairs Whose Sum is Less Than Target
Easy
Binary Search