dsa3 min read
Tries — Master Recap & Cheatsheet
Complete Tries cheatsheet: core operations, 5 patterns, binary trie for XOR, complexity table, and decision guide.
Read →
1575 articles
Complete Tries cheatsheet: core operations, 5 patterns, binary trie for XOR, complexity table, and decision guide.
Master Two Pointers and Sliding Window patterns with 60 problems, 5-language solutions, and MAANG company tags.
Check if a string is a palindrome after removing non-alphanumeric characters using inward two pointers.
Reverse an array of characters in-place using the classic two-pointer swap technique.
Return squares of a sorted array in sorted order using two pointers that compare absolute values from both ends.