Skip to content

Instantly share code, notes, and snippets.

@ajaynitt
Last active August 29, 2015 14:09
Show Gist options
  • Save ajaynitt/15acb29a5d666df3ab8d to your computer and use it in GitHub Desktop.
Save ajaynitt/15acb29a5d666df3ab8d to your computer and use it in GitHub Desktop.
LeetCode Top 10 questions for Interview
After extensive data analysis of the votes from our beloved users,
we have released the Top 10 interview questions in Online Judge.
1. Median of Two Sorted Arrays
2. Valid Number
3. Pow(x, n)
4. Find Minimum in Rotated Sorted Array
5. Linked List Cycle
6. LRU Cache
7. Find Minimum in Rotated Sorted Array II
8. Max Points on a Line
9. Linked List Cycle II
10. Divide Two Integers
@ajaynitt
Copy link
Author

ajaynitt commented Nov 9, 2014

@ajaynitt
Copy link
Author

@ajaynitt
Copy link
Author

(1)print all cycles in a graph
(2)Serialization of a tree

@ajaynitt
Copy link
Author

to do:
edit distance (dp problem)
=>if char match happens ,that doesn't assure mincost of subproblem

@ajaynitt
Copy link
Author

(1) minimum jump problem
(2)edit distance problem
(3)
maximum size square matrix will all 1's
(4)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment