Sorted by frequency of problems that appear in real interviews.
Last updated: October 2, 2017
Amazon (88)
534 Design TinyURL
675 Cut Off Trees for Golf Event
1 Two Sum
20 Valid Parentheses
146 LRU Cache
438 Find All Anagrams in a String
200 Number of Islands
48 Rotate Image
297 Serialize and Deserialize Binary Tree
138 Copy List with Random Pointer
236 Lowest Common Ancestor of a Binary Tree
460 LFU Cache
387 First Unique Character in a String
121 Best Time to Buy and Sell Stock
239 Sliding Window Maximum
5 Longest Palindromic Substring
17 Letter Combinations of a Phone Number
238 Product of Array Except Self
42 Trapping Rain Water
682 Baseball Game
127 Word Ladder
380 Insert Delete GetRandom O(1)
235 Lowest Common Ancestor of a Binary Search Tree
206 Reverse Linked List
23 Merge k Sorted Lists
155 Min Stack
2 Add Two Numbers
98 Validate Binary Search Tree
449 Serialize and Deserialize BST
240 Search a 2D Matrix II
234 Palindrome Linked List
517 Super Washing Machines
215 Kth Largest Element in an Array
139 Word Break
21 Merge Two Sorted Lists
49 Group Anagrams
126 Word Ladder II
3 Longest Substring Without Repeating Characters
242 Valid Anagram
529 Minesweeper
160 Intersection of Two Linked Lists
141 Linked List Cycle
186 Reverse Words in a String II
167 Two Sum II – Input array is sorted
15 3Sum
78 Subsets
535 Encode and Decode TinyURL
73 Set Matrix Zeroes
102 Binary Tree Level Order Traversal
508 Most Frequent Subtree Sum
8 String to Integer (atoi)
538 Convert BST to Greater Tree
204 Count Primes
199 Binary Tree Right Side View
414 Third Maximum Number
89 Gray Code
451 Sort Characters By Frequency
355 Design Twitter 2
119 Pascal’s Triangle II
662 Maximum Width of Binary Tree
645 Set Mismatch
617 Merge Two Binary Trees
661 Image Smoother
396 Rotate Function
646 Maximum Length of Pair Chain
545 Boundary of Binary Tree
606 Construct String from Binary Tree
640 Solve the Equation
663 Equal Tree Partition
459 Repeated Substring Pattern
516 Longest Palindromic Subsequence
532 K-diff Pairs in an Array
579 Find Cumulative Salary of an Employee
536 Construct Binary Tree from String
537 Complex Number Multiplication
553 Optimal Division
No comments:
Post a Comment