Skip to content

khemssharma/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leetcode Notes

Two Pointers

In this approach two pointers move towards or opposite to each other. It does not divide the search space logarithmicaly.

Binary Search

In this approach we continuosly divide search space into two halves. It divides the search space logarithmicaly.

Dynamic Programming

In this approach, we store the results of overlapping subproblems to avoid redundant calculations. It optimizes recursive solutions by using memoization (top-down) or tabulation (bottom-up).

See my Leetcode Profile