Leetcode solutions with notes on optimization and logical solution for every problem.
I use Java as primary language to solve the problems.
A daily update will be given on solved problems, please feel free to checkout soltuions and comeup with a better solution if possible .
- Two Pointer: if a problem involves subarray or substrings it is mostly invovling two pointer concept. It reduces time complexity of a solution from N^2 to N.
a full study checklist for code & whiteboard interview, please turn to jwasham's coding-interview-university.
Also, there are open source implementations for basic data structs and algorithms, such as Algorithms in Python and Algorithms in Java.