Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 354 Bytes

README.md

File metadata and controls

6 lines (5 loc) · 354 Bytes

Important Points to Remember

  • 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.