Data Structure
Sliding Window Techniques
Sliding Window Techniques
When you dealing with sub array problems
Fast/Slow
Fast/Catch-Up
Fast/Lagging
Front/Back
Array Problem solving Techniques
Array Problem solving Techniques
Looks for Sort (Use PriorityQueue)
Two point with Sorting [Pair]
Handling Duplicates [Decoding]
Use HashMap to store the counts
If character, then user char[] ch = new char[26] to store the counts
Stack Problem
Stack Problem
Use stack when you need to look back the value for some interval
Ternary expression or handling "()" problems
Histogram kind of problems
Trie
Trie
For any dictionary related or sorting list of dictionary use Trie
Boggle
Word Dictionary