lintcode-leetcode-solution
Introduction
Array
Subarray Sum Closest
Partition Array by Odd and Even
Find the Duplicate Number
Best Time to Buy and Sell Stock
Best Time to Buy and Sell Stock II
Best Time to Buy and Sell Stock III
Best Time to Buy and Sell Stock IV
Best Time to Buy and Sell Stock with Cooldown
Insert Interval
Guess Number Higher or Lower
Subsets
Jump Game
Jump Game II
Plus One
Find All Numbers Disappeared in an Array
Majority Element
Majority Element II
Search a 2D Matrix
Search a 2D Matrix II
Valid Sudoku
H-Index
H-Index II
Increasing Triplet Subsequence
Longest Increasing Subsequence
Russian Doll Envelopes
Pascal's Triangle
Pascal's Triangle II
Sliding Window Maximum
Can Place Flowers
Teemo Attacking
Merge Intervals
Remove Element
Battleships in a Board
Max Consecutive Ones
Rotate Image
Two Sum
Two Sum II
Merge Sorted Array
Contains Duplicate
Contains Duplicate II
Contains Duplicate III
Longest Palindromic Subsequence
Longest Palindromic Substring
Maximum Subarray
Maximum Product Subarray
Remove Duplicates from Sorted Array
Remove Duplicates from Sorted Array II
Search Insert Position
First Bad Version
Rotate Array
Move Zeroes
Range Sum Query - Immutable
Third Maximum Number
Island Perimeter
Heaters
Next Greater Element I
Array Partition I
Reshape the Matrix
Shortest Unsorted Continuous Subarray
Maximum Product of Three Numbers
Maximum Average Subarray I
Sort Colors
Container With Most Water
3Sum
3Sum Closest
4Sum
Next Permutation
Search in Rotated Sorted Array
Search for a Range
Spiral Matrix
Spiral Matrix II
Set Matrix Zeroes
Search in Rotated Sorted Array II
Subsets II
Median of Two Sorted Arrays
First Missing Positive
Trapping Rain Water
Heap
Kth Smallest Number in Sorted Matrix
Mathematics
Ugly Number
Minimum Moves to Equal Array Elements II
String to Integer (atoi)
Count Primes
Arithmetic Slices
Factorial Trailing Zeroes
Multiply Strings
Add Strings
Valid Square
Happy Number
Add Digits
Perfect Number
Power of Two
Power of Three
Power of Four
Reverse Integer
Palindrome Number
Sqrt(x)
Valid Perfect Square
Excel Sheet Column Title
Excel Sheet Column Number
Nim Game
Nth Digit
Arranging Coins
Minimum Moves to Equal Array Elements
Largest Palindrome Product
Base 7
Range Addition II
Divide Two Integers
Pow(x, n)
Permutation Sequence
Dynamic Programming
Triangle
Coin Change
Word Break
Guess Number Higher or Lower II
Perfect Squares
Ugly Number II
Number of Digit One
Unique Paths I
Unique Paths II
Super Ugly Number
Climbing Stairs
House Robber
House Robber II
Minimum Path Sum
Word Break II
Decode Ways
Regular Expression Matching
Longest Valid Parentheses
Wildcard Matching
Tree
Interval Sum II
Invert Binary Tree
Flatten Binary Tree to Linked List
Binary Tree Tilt
Add and Search Word - Data structure design
Implement Trie (Prefix Tree)
Find Largest Value in Each Tree Row
Lowest Common Ancestor of a Binary Search Tree
Binary Tree Level Order Traversal
Binary Tree Level Order Traversal II
Symmetric Tree
Path Sum
Path Sum II
Path Sum III
Minimum Depth of Binary Tree
Maximum Depth of Binary Tree
Balanced Binary Tree
Minimum Absolute Difference in BST
Construct String from Binary Tree
Same Tree
Convert Sorted Array to Binary Search Tree
Binary Tree Paths
Find Mode in Binary Search Tree
Sum of Left Leaves
Convert BST to Greater Tree
Diameter of Binary Tree
Subtree of Another Tree
Merge Two Binary Trees
Bit
Reverse Bits
Single Number
Single Number II
Single Number III
Missing Number
Gray Code
Hamming Distance
Total Hamming Distance
Maximum XOR of Two Numbers in an Array
Binary Watch
Number of 1 Bits
Convert a Number to Hexadecimal
Sum of Two Integers
Number Complement
Linked List
Linked List Cycle II
Linked List Cycle
Palindrome Linked List
Reverse Linked List
Reverse Linked List II
Remove Duplicates from Sorted List
Add Two Numbers
Add Two Numbers II
Delete Node in a Linked List
Remove Linked List Elements
Swap Nodes in Pairs
Reverse Nodes in k-Group
Partition List
Merge Two Sorted Lists
Intersection of Two Linked Lists
Odd Even Linked List
Rotate List
Remove Nth Node From End of List
Remove Duplicates from Sorted List II
Merge k Sorted Lists
Graph
Course Schedule
Minesweeper
Word Ladder
Word Search
Word Search II
Word Ladder II
Divide and Conquer
Different Ways to Add Parentheses
backtracking
Combinations
Combination Sum
Combination Sum II
Generate Parentheses
Letter Combinations of a Phone Number
Matchsticks to Square
Permutations
Permutations II
Sudoku Solver
String
Add Binary
Reverse Words in a String
Length of Last Word
ZigZag Conversion
Reverse String
Reverse String II
Reverse Words in a String III
Longest Word in Dictionary through Deleting
Permutation in String
Simplify Path
Delete Operation for Two Strings
Edit Distance
Ransom Note
Number of Segments in a String
Implement strStr()
Repeated Substring Pattern
Find the Difference
Valid Palindrome
Roman to Integer
Integer to Roman
Longest Common Prefix
Count and Say
Reverse Vowels of a String
Fizz Buzz
Detect Capital
Longest Uncommon Subsequence I
Student Attendance Record I
Longest Substring Without Repeating Characters
Design
Flatten Nested List Iterator
Greedy
Patching Array
Assign Cookies
sql
Duplicate Emails
Human Traffic of Stadium
Department Top Three Salaries
Combine Two Tables
Second Highest Salary
Rising Temperature
Delete Duplicate Emails
Customers Who Never Order
Employees Earning More Than Their Managers
stack
Min Stack
Remove K Digits
Create Maximum Number
Implement Queue using Stacks
Implement Stack using Queues
Basic Calculator
Basic Calculator II
Valid Parentheses
Hash
Longest Palindrome
Valid Anagram
Find All Anagrams in a String
K-diff Pairs in an Array
Intersection of Two Arrays
Intersection of Two Arrays II
Isomorphic Strings
Word Pattern
Minimum Index Sum of Two Lists
First Unique Character in a String
Number of Boomerangs
Keyboard Row
Relative Ranks
Distribute Candies
Longest Harmonious Subsequence
Group Anagrams
Substring with Concatenation of All Words
Powered by
GitBook
Dynamic Programming
Dynamic Programming
results matching "
"
No results matching "
"