Frequency: ♥ Difficulty: ♥ ♥ ♥ ♥
Data Structure: String
Algorithm: dynamic programming, DFS, backtrace, recursively
Read the rest of this entry »
Tag Archives: Freq1
Word Break II [LeetCode 151]
Word Break [LeetCode 150]
Frequency: ♥ Difficulty: ♥ ♥ ♥ ♥
Data Structure: String
Algorithm: recursively, iteratively, dynamic programming, top down
Read the rest of this entry »
Max Points on a Line [LeetCode 149]
Frequency: ♥ Difficulty: ♥ ♥ ♥ ♥
Data Structure: HashMap
Algorithm:
Read the rest of this entry »
Evaluate Reverse Polish Notation [LeetCode 148]
Frequency: ♥ Difficulty: ♥ ♥
Data Structure: Array, Stack
Algorithm: one pass strategy
Read the rest of this entry »
Clone Graph [LeetCode 147]
Frequency: ♥ Difficulty: ♥ ♥ ♥
Data Structure: graph
Algorithm: BFS, DFS
Read the rest of this entry »
Reverse Words in a String [LeetCode 146]
Frequency: ♥ Difficulty: ♥ ♥ ♥
Data Structure: String
Algorithm:
Read the rest of this entry »
Gas Station [LeetCode 145]
Frequency: ♥ Difficulty: ♥ ♥ ♥
Data Structure: Array
Algorithm: one pass strategy
Read the rest of this entry »
Candy [LeetCode 144]
Frequency: ♥ Difficulty: ♥ ♥ ♥
Data Structure: Array
Algorithm: one pass strategy
Read the rest of this entry »
Sort List [LeetCode 143]
Frequency: ♥ Difficulty: ♥ ♥ ♥
Data Structure: Linked List
Algorithm: divide and conquer
Read the rest of this entry »
Reorder List [LeetCode 142]
Frequency: ♥ Difficulty: ♥ ♥ ♥
Data Structure: Linked List
Algorithm:
Read the rest of this entry »
LRU Cache [LeetCode 141]
Frequency: ♥ Difficulty: ♥ ♥ ♥ ♥
Data Structure: Double Linked List, Hash Map
Algorithm:
Read the rest of this entry »
Linked List Cycle II [LeetCode 140]
Frequency: ♥ Difficulty: ♥ ♥ ♥
Data Structure: Linked List
Algorithm: two pointers
Read the rest of this entry »
Linked List Cycle [LeetCode 139]
Frequency: ♥ Difficulty: ♥ ♥
Data Structure: Linked List
Algorithm: two pointers
Read the rest of this entry »
Insertion Sort List [LeetCode 138]
Frequency: ♥ Difficulty: ♥ ♥ ♥
Data Structure: Linked List
Algorithm:
Read the rest of this entry »
Copy List with Random Pointer [LeetCode 137]
Frequency: ♥ Difficulty: ♥ ♥ ♥ ♥
Data Structure: Linked List
Algorithm: Hash
Read the rest of this entry »
Single Number II [LeetCode 136]
Frequency: ♥ Difficulty: ♥ ♥ ♥
Data Structure: Array
Algorithm: bit manipulation
Read the rest of this entry »
Single Number [LeetCode 135]
Frequency: ♥ Difficulty: ♥
Data Structure: Array
Algorithm: hash, bit manipulation
Read the rest of this entry »
Best Time to Buy and Sell Stock III [LeetCode 134]
Frequency: ♥ Difficulty: ♥ ♥ ♥ ♥
Data Structure: Array
Algorithm: divide and conquer, dynamic programming
Read the rest of this entry »
Best Time to Buy and Sell Stock II [LeetCode 133]
Frequency: ♥ Difficulty: ♥ ♥
Data Structure: Array
Algorithm: greedy algorithm, one pass strategy
Read the rest of this entry »
Best Time to Buy and Sell Stock [LeetCode 132]
Frequency: ♥ Difficulty: ♥ ♥
Data Structure: Array
Algorithm: one pass strategy, dynamic programming
Read the rest of this entry »
Triangle [LeetCode 131]
Frequency: ♥ Difficulty: ♥ ♥ ♥
Data Structure: matrix
Algorithm: dynamic programming, level order traversal, top-down, bottom-up
Read the rest of this entry »
Pascal’s Triangle II [LeetCode 130]
Frequency: ♥ Difficulty: ♥ ♥
Data Structure: ArrayList
Algorithm: level order traversal
Read the rest of this entry »
Pascal’s Triangle [LeetCode 129]
Frequency: ♥ Difficulty: ♥ ♥
Data Structure: Array
Algorithm: level order traversal
Read the rest of this entry »
Minimum Depth of Binary Tree [LeetCode 128]
Frequency: ♥ Difficulty: ♥ ♥
Data Structure: binary tree
Algorithm: recursively, BFS, level order traversal
Read the rest of this entry »
Maximum Depth of Binary Tree [LeetCode 127]
Frequency: ♥ Difficulty: ♥
Data Structure: binary tree
Algorithm: recursively, BFS, level order traversal
Read the rest of this entry »
Same Tree [LeetCode 126]
Frequency: ♥ Difficulty: ♥
Data Structure: binary tree
Algorithm: recursively
Read the rest of this entry »
Unique Binary Search Trees II [LeetCode 125]
Frequency: ♥ Difficulty: ♥ ♥ ♥ ♥
Data Structure: BST
Algorithm: recursively
Read the rest of this entry »
Unique Binary Search Trees [LeetCode 124]
Frequency: ♥ Difficulty: ♥ ♥ ♥
Data Structure: binary search tree
Algorithm: dynamic programming, iteratively, recursively
Read the rest of this entry »
Simplify Path [LeetCode 122]
Frequency: ♥ Difficulty: ♥ ♥ ♥
Data Structure: String, Stack
Algorithm:
Read the rest of this entry »
Permutation Sequence [LeetCode 121]
Frequency: ♥ Difficulty: ♥ ♥ ♥ ♥
Data Structure: Array, String
Algorithm: DFS, math
Read the rest of this entry »
Length of Last Word [LeetCode 120]
Frequency: ♥ Difficulty: ♥
Data Structure: String
Algorithm: one pass strategy
Read the rest of this entry »
Substring with Concatenation of All Words [LeetCode 119]
Frequency: ♥ Difficulty: ♥ ♥ ♥ ♥
Data Structure: String, HashMap, HashSet, Tier Tree
Algorithm:
Read the rest of this entry »
3Sum Closest [LeetCode 118]
Frequency: ♥ Difficulty: ♥ ♥ ♥
Data Structure: Array
Algorithm: two pointers
Read the rest of this entry »
Longest Common Prefix [LeetCode 117]
Frequency: ♥ Difficulty: ♥ ♥
Data Structure: String
Algorithm:
Read the rest of this entry »
ZigZag Conversion [LeetCode 116]
Frequency: ♥ Difficulty: ♥ ♥ ♥
Data Structure: String
Algorithm: Math
Read the rest of this entry »
Binary Tree Level Order Traversal II [LeetCode 40]
Frequency: ♥ Difficulty: ♥ ♥ ♥
Data Structure: Tree
Algorithm: level traversal
Read the rest of this entry »
Longest Valid Parentheses [LeetCode 23]
Frequency: ♥ Difficulty: ♥ ♥ ♥ ♥
Data Structure: String, Stack
Algorithm: one pass strategy
Read the rest of this entry »
Word Ladder II [LeetCode 18]
Frequency: ♥ Difficulty: ♥ ♥ ♥ ♥ ♥
Data Structure: String, HashMap, ArrayList, adjacent list, graph
Algorithm: BFS, DFS, backtrace, brute force
Read the rest of this entry »