Daily Question – 0876. Middle of the Linked List
Implement a ‘two pointers’ algorithm, where one pointer moves at a fast pace, advancing two steps at a time, and the other moves at a slower pace, advancing one step at a time. When the fast pointer reaches the end, return the position of the slow pointer.
Daily Question – 0141. Linked List Cycle
This problem also employs the “Two Pointers” technique, which is rather ingenious.
Daily Question – 1750. Minimum Length of String After Deleting Similar Ends
This is an easy one, just use the two pointers.
11. Container With Most Water
Description: https://leetcode.com/problems/container-with-most-water/ Notes: Using two pointers