/leetcode-lintcode

Here are my leetcode-lintcode problem solutions.

Primary LanguageC++MIT LicenseMIT

Leetcode-Lintcode Solutions

Here are leetcode-lintcode problem solutions. Here is a repo for you can play it and share your solution. Hope you enjoy it and contribute it.

Look here is a ladder for you. You can play it in leetcode.

1. Defeat the Algorithm Interview

Requried

# Title Solution Difficulty
409 Longest Palindrome Easy
28 Implement strStr() Easy
125 Valid Palindrome Easy

Optional

# Title Solution Difficulty
1970 Rotate String II Easy
594 strStr II Hard

2. Breadth First Search

Requried

# Title Solution Difficulty Companies
200 Number of Islands Medium
102 Binary Tree Level Order Traversal Medium
127 Word Ladder Medium Amazon|32 Facebook|11 Google|11
207 Course Schedule Medium
210 Course Schedule II Medium
133 Clone Graph Medium
297 Serialize and Deserialize Binary Tree Hard

3. Binary Search

Required

# Title Solution Difficultty Companies
658 Find K Closest Elements Medium Facebook|13
33 Search in Rotated Sorted Array Medium Facebook|25 Amazon|18
50 Pow(x, n) Medium Facebook
4 Median of Two Sorted Arrays Hard Amazon|13
29 Divide Two Integers Medium Facebook|23
315 Count of Smaller Numbers After Self Hard Google|9
287 Find the Duplicate Number Medium Amazon|7 Google|6
167 Two Sum II - Input array is sorted Easy Amazon|5

Optional

4. Binary Tree & Divide and Conquer

Required

# Title Solution Difficultty Companies
104 Maximum Depth of Binary Tree Easy
226 Invert Binary Tree Easy
617 Merge Two Binary Trees Easy
96 Unique Binary Search Trees Medium
173 Binary Search Tree Iterator Medium
169 Majority Element Easy
297 Serialize and Deserialize Binary Tree Hard
53 Maximum Subarray Easy
215 Kth Largest Element in an Array Medium

Optional