- Whenever there's a string or array problem think or brute force solution first and then try to optimize it.
- Optimization can usually be done using two pointes, sliding window, or prefix sum.
- If you want to group string anamgrams you can convert their charCount arrays into strings and use them as keys in a hashmap.
-
Notifications
You must be signed in to change notification settings - Fork 0
Atharv-Sathe/DSARegistry
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A compendium of popular problems on several data structures and algorithms.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published