Loading Thita. Almost there...
Two Pointers Pattern · 3 of 7
Master the expand from center technique for finding palindromic substrings and longest palindrome problems.
Access the full theory, code examples, and practice problems.
Start LearningMaster Floyd's tortoise and hare algorithm for cycle detection. Detect cycles in linked lists and find duplicate numbers.
Learn converging two pointers for sorted arrays. Solve two sum, three sum, and container problems efficiently.
Learn to compare strings with backspace characters using two pointers from the end.
Master string reversal techniques including reverse string, reverse words, and reverse vowels using two pointers.