PrimeTimeTran
Tags
Snippets
DSA
Projects
About
Tags
Snippets
DSA
Projects
About
Leetcode Problems
Tags
ARRAY
HASH TABLE
PRIORITY QUEUE
DESIGN
HEAP
GREEDY
BINARY SEARCH
BACKTRACKING
DYNAMIC PROGRAMMING
2D DYNAMIC PROGRAMMING
MATH
GRAPH
UNION FIND
PRIORITY QUEUE
DIJKSTRA
SHORTEST PATH
BIT MANIPULATION
LINKED LIST
Reset to All
Random Selection
Select Random
Shuffle Problems
Problem Lists(2)
Pareto Problems
Loi Problems
Problems
1.
Two Sum
[e]
2.
Kth Largest Element in an Array
[m]
3.
Kth Largest Element in a Stream
[m]
4.
Top K Frequent Elements
[m]
5.
K Closest Points to Origin
[m]
6.
Find Median from Data Stream
[h]
7.
Minimum Number of Refueling Stops
[h]
8.
Furthest Building You Can Reach
[m]
9.
K-th Smallest Prime Fraction
[h]
10.
Palindrome Partitioning
[m]
11.
Target Sum
[m]
12.
Distinct Subsequences
[h]
13.
Fibonacci Number
[e]
14.
Climbing Stairs
[e]
15.
Min Cost Climbing Stairs
[e]
16.
House Robber I
[m]
17.
House Robber II
[m]
18.
Delete and Earn
[m]
19.
Maximum Subarray
[e]
20.
Longest Palindromic Substring
[m]
21.
Palindrome Partitioning II
[h]
22.
Partition Equal Subset Sum
[m]
23.
Coin Change
[m]
24.
Coin Change II
[m]
25.
Unique Paths
[m]
26.
Unique Paths II
[m]
27.
Minimum Path Sum
[m]
28.
Minimum Falling Path Sum
[m]
29.
Longest Common Subsequence
[m]
30.
Delete Operation for Two Strings
[m]
31.
Minimum ASCII Delete Sum for Two Strings
[m]
32.
Is Subsequence
[e]
33.
Interleaving String
[m]
34.
Longest Palindromic Subsequence
[m]
35.
Predict the Winner
[]
36.
Burst Balloons
[m]
37.
Minimum Score Triangulation of Polygon
[m]
38.
Edit Distance
[m]
39.
Maximal Square
[m]
40.
Best Time to Buy and Sell Stock V
[m]
41.
Reverse String
[e]
42.
Subtract the Product and Sum of Digits of an Integer
[e]
43.
Subsets
[e]
44.
Subsets II
[e]
45.
Non-decreasing Subsequences
[m]
46.
Combinations
[m]
47.
Combination Sum
[m]
48.
Combination Sum II
[m]
49.
Combination Sum III
[m]
50.
Factor Combinations
[]
51.
Permutations
[m]
52.
Permutations II
[m]
53.
Next Permutation
[m]
54.
Letter Combinations of a Phone Number
[m]
55.
Generate Parentheses
[m]
56.
Generalized Abbreviation
[]
57.
Letter Case Permutation
[m]
58.
Binary Watch
[e]
59.
Valid Sudoku
[m]
60.
Sudoku Solver
[h]
61.
N-Queens
[h]
62.
N-Queens II
[h]
63.
Restore IP Addresses
[m]
64.
Word Break II
[h]
65.
Concatenated Words
[h]
66.
Island Perimeter
[e]
67.
Flood Fill
[e]
68.
Find the Town Judge
[e]
69.
Number of Islands
[m]
70.
Max Area of Island
[m]
71.
Clone Graph
[m]
72.
Pacific Atlantic Water Flow
[m]
73.
Surrounded Regions
[m]
74.
Course Schedule
[m]
75.
Course Schedule II
[m]
76.
Graph Valid Tree
[m]
77.
Number of Connected Components in an Undirected Graph
[m]
78.
Redundant Connection
[m]
79.
Word Ladder
[m]
80.
Open the Lock
[m]
81.
Count Sub Islands
[m]
82.
Number of Closed Islands
[m]
83.
Time Needed to Inform All Employees
[m]
84.
Reorder Routes to Make All Paths Lead to the City Zero
[m]
85.
01 Matrix
[m]
86.
Minimum Genetic Mutation
[m]
87.
Shortest Bridge
[m]
88.
As Far from Land as Possible
[m]
89.
Minimum Time to Collect All Apples in a Tree
[m]
90.
All Paths from Source to Target
[m]
91.
Number of Operations to Make Network Connected
[m]
92.
Shortest Path in Binary Matrix
[m]
93.
Check if Move is Legal
[m]
94.
Find Eventual Safe States
[m]
95.
Snakes and Ladders
[m]
96.
Accounts Merge
[m]
97.
Minimum Height Trees
[m]
98.
Minimum Jumps to Reach Home
[m]
99.
Water and Jug Problem
[m]
100.
Minimum Number of Vertices to Reach All Nodes
[m]
101.
Maximal Network Rank
[m]
102.
Minimum Fuel Cost to Report to the Capital
[m]
103.
Minimum Time to Visit Disappearing Nodes
[m]
104.
Shortest Path Visiting All Nodes
[h]
105.
Find Edges in Shortest Paths
[h]
106.
Minimum Number of Days to Eat N Oranges
[h]
107.
Word Ladder II
[h]
108.
Race Car
[h]
109.
Longest Path With Different Adjacent Characters
[h]
110.
Sum of Distances in Tree
[h]
111.
Rotting Oranges
[m]
112.
Reconstruct Itinerary
[h]
113.
Path with Maximum Probability
[m]
114.
Minimum Score of a Path Between Two Cities
[m]
115.
Alien Dictionary
[h]
116.
Network Delay Time
[m]
117.
Path With Minimum Effort
[m]
118.
Cheapest Flights Within K Stops
[m]
119.
Number of Provinces
[m]
120.
Number of Islands II
[m]
121.
Minimize Malware Spread
[m]
122.
The Earliest Moment When Everyone Become Friends
[m]
123.
Optimize Water Distribution in a Village
[m]
124.
Redundant Connection II
[m]
125.
Swim in Rising Water
[m]
126.
Reachable Nodes In Subdivided Graph
[m]
127.
Find the City With the Smallest Number of Neighbors at a Threshold Distance
[m]
128.
Minimum Cost to Reach Destination in Time
[m]
129.
Binary Search
[e]
130.
Guess Number Higher or Lower
[e]
131.
First Bad Version
[e]
132.
Search in Rotated Sorted Array
[m]
133.
Search in Rotated Sorted Array II
[m]
134.
Find Peak Element
[m]
135.
Find Minimum in Rotated Sorted Array
[m]
136.
Find Minimum in Rotated Sorted Array II
[m]
137.
Find K Closest Elements
[m]
138.
Find First and Last Position of Element in Sorted Array
[m]
139.
Search a 2D Matrix
[e]
140.
Search a 2D Matrix II
[m]
141.
Kth Smallest Element in a Sorted Matrix
[m]
142.
Find K-th Smallest Pair Distance
[m]
143.
Capacity To Ship Packages Within D Days
[m]
144.
Split Array Largest Sum
[m]
145.
Koko Eating Bananas
[m]
146.
Median of Two Sorted Arrays
[h]
147.
Find the Kth Smallest Product of Two Sorted Arrays
[m]
148.
Power of Two
[e]
149.
Ugly Number
[e]
150.
Number of 1 Bits
[e]
151.
Single Number
[e]
152.
Reverse Bits
[e]
153.
Missing Number
[e]
154.
Counting Bits
[m]
155.
Hamming Distance
[e]
156.
Power of Four
[e]
157.
Sum of Two Integers
[m]
158.
Number Complement
[m]
159.
Complement of Base 10 Integer
[m]
160.
Total Hamming Distance
[m]
161.
Binary Number with Alternating Bits
[e]
162.
Bitwise AND of Numbers Range
[m]
163.
Single Number III
[m]
164.
XOR Operation in an Array
[e]
165.
Single Number II
[m]
166.
Maximum Product of Word Lengths
[m]
167.
Nth Digit
[m]
168.
Linked List Cycle
[e]
169.
Reverse Linked List
[e]
170.
Merge Two Sorted Lists
[e]
171.
Reorder List
[m]
172.
Remove Nth Node From End of List
[m]
173.
Copy List with Random Pointer
[m]
174.
Add Two Numbers
[m]
175.
LRU Cache
[m]
176.
Find the Duplicate Number
[m]
177.
Reverse Nodes in k-Group
[m]
178.
Merge k Sorted Lists
[m]