You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Construct Binary Search Tree from Preorder Traversal
BST
O(n^2)
O(n)
25
Uncrossed Lines
Dynamic Programming
O(n)
O(n)
26
Contiguous Array
Dynamic Programming
O(n)
O(n)
27
Possible Bipartition
DFS
O(n)
O(n)
28
Counting Bits
Bit Manipulation
O(logn)
O(1)
29
Course Schedule
Graph Coloring
O(v+e)
O(e)
30
K Closest Points to Origin
HashMap
O(n)
On)
31
Edit Distance
Dynamic Programming
O(n)
O(n)
About
Excited to take up the 30 Day LeetCode Challenge - May 2020! In this repo, I commit solutions to the challenge problems everyday for the Month of May 2020. You can see the TC and SC of the solutions in the Readme file. Question and Solution present in the code files.