0% found this document useful (0 votes)
6 views6 pages

Leetcode 300

The document lists various coding problems categorized by topics such as Math, Geometry, Tree + BST, and more, along with their difficulty levels ranging from Easy to Hard. Each problem is identified by its title and associated category. This serves as a reference for individuals looking to practice or improve their coding skills across different areas.

Uploaded by

vominhtuan4594
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views6 pages

Leetcode 300

The document lists various coding problems categorized by topics such as Math, Geometry, Tree + BST, and more, along with their difficulty levels ranging from Easy to Hard. Each problem is identified by its title and associated category. This serves as a reference for individuals looking to practice or improve their coding skills across different areas.

Uploaded by

vominhtuan4594
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Đề bài Chủ đề Độ khó

DI String Match Math Easy


Happy Number Math Easy
Maximum Product of Three Numbers Math Easy
Path In Zigzag Labelled Binary Tree Math Medium
Reach A Number Math Medium
Ugly Number II Math Medium
Consecutive Numbers Sum Math Hard
Numbers At Most N Given Digit Set Math Hard
Permutation Sequence Math Hard
Reaching Points Math Hard
Smallest Good Base Math Hard
Split Array With Same Average Math Hard
Super Egg Drop Math Hard
Super Washing Machines Math Hard
Maximum Subarray Divide and conquer Easy
Different Ways to Add Parentheses Divide and conquer Medium
K Closest Points to Origin Divide and conquer Medium
Longest Substring with At Least K Repeating Characters Divide and conquer Medium
Burst Balloons Divide and conquer Hard
Count of Smaller Numbers After Self Divide and conquer Hard
Median of Two Sorted Arrays Divide and conquer Hard
Minimum Time Visiting All Points Geometry Easy
Circle and Rectangle Overlapping Geometry Medium
Minimum Area Rectangle II Geometry Medium
Erect The Fence Geometry Hard
Maximum Number of Darts Inside of a Circular Dartboard Geometry Hard
Best Position for a Service Centre Geometry Hard
Largest Merge Of Two Strings Suffix Array Medium
Longest Duplicate Substring Suffix Array Hard
Last Substring in Lexicographical Order Suffix Array Hard
Remove Covered Intervals Line Sweep Medium
Perfect Rectangle Line Sweep Hard
The Skyline Problem Line Sweep Hard
Rectangle Area II Line Sweep Hard
100. Same Tree Tree + BST Easy
101. Symmetric Tree Tree + BST Easy
104. Maximum Depth of Binary Tree + BST Easy
110. Balanced Binary Tree Tree + BST Easy
226. Invert Binary Tree Tree + BST Easy
538. Convert BST to Greater Tree Tree + BST Medium
654. Maximum Binary Tree Tree + BST Medium
1302. Deepest Leaves Sum Tree + BST Medium
99. Recover Binary Search Tree Tree + BST Hard
124. Binary Tree Maximum Path Sum Tree + BST Hard
297. Serialize and Deserialize Binary Tree Tree + BST Hard
834. Sum of Distances in Tree Tree + BST Hard
968. Binary Tree Cameras Tree + BST Hard
1028. Recover a Tree From Preorder Traversal Tree + BST Hard
1719. Number Of Ways To Reconstruct A Tree - Hard Tree + BST Hard
1766. Tree of Coprimes Tree + BST Hard
1046. Last Stone Weight Heap Easy
973. K Closest Points to Origin Heap Medium
767. Reorganize String Heap Medium
373. Find K Pairs with Smallest Sums Heap Medium
871. Minimum Number of Refueling Stops Heap Hard
218. The Skyline Problem Heap Hard
857. Minimum Cost to Hire K Workers Heap Hard
239. Sliding Window Maximum Heap Hard
295. Find Median from Data Stream Heap Hard
547. Number of Provinces Union Find Easy
1319. Number of Operations to Make Network Connected Union Find Easy
399. Evaluate Division Union Find Medium
684. Redundant Connection Union Find Medium
1722. Minimize Hamming Distance After Swap Operations Union Find Medium
765. Couples Holding Hands Union Find Hard
778. Swim in Rising Water Union Find Hard
952. Largest Component Size by Common Factor Union Find Hard
1627. Graph Connectivity With Threshold Union Find Hard
Letter Combinations of a Phone Number Recursion Medium
Longest Substring with At Least K Repeating Characters Recursion Medium
Jump Game III Recursion Medium
Range Sum of BST Recursion Easy
Minimum Distance Between BST Nodes Recursion Easy
Find Minimum Time to Finish All Jobs Recursion Hard
Balanced Binary Tree Recursion Easy
Binary Tree Maximum Path Sum Recursion Hard
Word Search II Trie Hard
Maximum XOR of Two Numbers in an Array Trie Medium
Replace words Trie Medium
Palindrome Pairs Trie Hard
Stream of Characters Trie Hard
Prefix and Suffix Search Trie Hard
Longest word in dictionary Trie Easy
Merge k Sorted Lists LinkedList Hard
Reverse Nodes in k-Group LinkedList Hard
Add Two Numbers LinkedList Medium
Remove Nth Node From End of List LinkedList Medium
Odd Even Linked List Linked List Medium
Remove Linked List Elements Linked List Easy
Reverse Linked List Linked List Easy
Nim Game Minimax Easy
Predict the Winner Minimax Medium
Can I win Minimax Medium
Cats and Mouses Minimax Hard
53. Maximum Subarray Dynamic Programming Easy
70. Climbing Stairs Dynamic Programming Easy
746. Min Cost Climbing Stairs Dynamic Programming Easy
1025. Divisor Game Dynamic Programming Easy
121. Best Time to Buy and Sell Stock Dynamic Programming Easy
902. Numbers At Most N Given Digit Set Dynamic Programming Hard
790. Domino and Tromino Tilling Dynamic Programming Medium
1320. Minimum Distance to Type a Word Using Two Fingers Dynamic Programming Hard
1155. Number of Dice Rolls With Target Sum Dynamic Programming Medium
1218. Longest Arithmetic Subsequence of Given Difference Dynamic Programming Medium
213. House Robber II Dynamic Programming Medium
1423. Maximum Points You Can Obtain from Cards Dynamic Programming Medium
62. Unique Paths Dynamic Programming Medium
983. Minimum Cost For Tickets Dynamic Programming Medium
279. Perfect Squares Dynamic Programming Medium
813. Largest Sum of Averages Dynamic Programming Medium
650. 2 Keys Keyboard Dynamic Programming Medium
960. Delete Columns to Make Sorted III Dynamic Programming Hard
600. Non-negative Integers without Consecutive Ones Dynamic Programming Hard
1473. Paint House III Dynamic Programming Hard
1745. Palindrome Partitioning IV Dynamic Programming Hard
1349. Maximum Students Taking Exam Dynamic Programming Hard
1411. Number of Ways to Paint N × 3 Grid Dynamic Programming Hard
1420. Build Array Where You Can Find The Maximum Exactly K Comparisons Dynamic Programming Hard
72. Edit Distance Dynamic Programming Hard
188. Best Time to Buy and Sell Stock IV Dynamic Programming Hard
847. Shortest Path Visiting All Nodes Dynamic Programming Hard
1223. Dice Roll Simulation Dynamic Programming Hard
1278. Palindrome Partitioning III Dynamic Programming Hard
1434. Number of Ways to Wear Different Hats to Each Other Dynamic Programming Hard
1458. Max Dot Product of Two Subsequences Dynamic Programming Hard
1547. Minimum Cost to Cut a Stick Dynamic Programming Hard
1563. Stone Game V Dynamic Programming Hard
1595. Minimum Cost to Connect Two Groups of Points Dynamic Programming Hard
1671. Minimum Number of Removals to Make Mountain Array Dynamic Programming Hard
Trapping Rain Water Array Hard
Two Sum Array Easy
Merge Intervals Array Medium
Best Time to Buy and Sell Stock Array Easy
Product of Array Except Self Array Medium
Maximum Subarray Array Easy
Median of Two Sorted Arrays Array Hard
Insert Delete GetRandom O(1) Array Medium
3Sum Array Medium
Subarray Sum Equals K Array Medium
First Missing Positive Array Hard
Jump Game II Array Hard
Maximal Rectangle Array Hard
Regular Expression Matching Backtracking Hard
Letter Combinations of a Phone Number Backtracking Medium
Generate Parentheses Backtracking Medium
Word Search Backtracking Medium
Word Break II Backtracking Hard
Sudoku Solver Backtracking Hard
Wildcard Matching Backtracking Hard
N-Queens Backtracking Hard
Binary Watch Backtracking Easy
Word Ladder BFS Hard
Remove Invalid Parentheses BFS Hard
Rotting Oranges BFS Medium
Binary Tree Zigzag Level Order Traversal BFS Medium
All Nodes Distance K in Binary Tree BFS Medium
Word Ladder II BFS Hard
Shortest Path in a Grid with Obstacles Elimination BFS Hard
Jump Game IV BFS Hard
Symmetric Tree BFS Easy
Longest Increasing Path in a Matrix Topological Sort Hard
Course Schedule Topological Sort Medium
Course Schedule II Topological Sort Medium
Sort Items by Groups Respecting Dependencies Topological Sort Hard
1033. Moving Stones Until Consecutive Brainteaser Easy
1227. Airplane Seat Assignment Probability Brainteaser Medium
1503. Last Moment Before All Ants Fall Out of a Plank Brainteaser Medium
292. Nim Game Brainteaser Easy
319. Bulb Switcher Brainteaser Medium
521. Longest Uncommon Subsequence I Brainteaser Easy
777. Swap Adjacent in LR String Brainteaser Medium
1081. Smallest Subsequence of Distinct Characters Stack & Queue Medium
1544. Make The String Great Stack & Queue Easy
224. Basic Calculator Stack & Queue Hard
42. Trapping Rain Water Stack & Queue Hard
456. 132 Pattern Stack & Queue Medium
85. Maximal Rectangle Stack & Queue Hard
862. Shortest Subarray with Sum at Least K Stack & Queue Hard
895. Maximum Frequency Stack Stack & Queue Hard
946. Validate Stack Sequences Stack & Queue Medium
1106. Parsing A Boolean Expression String Hard
115. Distinct Subsequences String Hard
1221. Split a String in Balanced Strings String Easy
1234. Replace the Substring for Balanced String String Medium
1392. Longest Happy Prefix String Hard
1513. Number of Substrings With Only 1s String Medium
1745. Palindrome Partitioning IV String Hard
344. Reverse String String Easy
5. Longest Palindromic Substring String Medium
657. Robot Return to Origin String Easy
72. Edit Distance String Hard
16. 3Sum Closest Two Pointers Medium
1687. Delivering Boxes from Storage to Ports Two Pointers Hard
234. Palindrome Linked List Two Pointers Easy
632. Smallest Range Covering Elements from K Lists Two Pointers Hard
75. Sort Colors Two Pointers Medium
76. Minimum Window Substring Two Pointers Hard
828. Count Unique Characters of All Substrings of a Given String Two Pointers Hard
881. Boats to Save People Two Pointers Medium
992. Subarrays with K Different Integers Two Pointers Hard
200. Number of Islands DFS Medium
490. The Maze DFS Medium
505. The Maze II DFS Medium
690. Employee Importance DFS Easy
499. The Maze III DFS Hard
749. Contain Virus DFS Hard
753. Cracking the Safe DFS Hard
924. Minimize Malware Spread DFS Hard
928. Minimize Malware Spread II DFS Hard
252. Meeting Rooms Sort Easy
253. Meeting Rooms II Sort Medium
280. Wiggle Sort Sort Medium
324. Wiggle Sort II Sort Medium
296. Best Meeting Point Sort Hard
1235. Maximum Profit in Job Scheduling Sort Hard
315. Count of Smaller Numbers After Self Sort Hard
1383. Maximum Performance of a Team Sort Hard
493. Reverse Pairs Sort Hard
136. Single Number Bit Manipulation Easy
137. Single Number II Bit Manipulation Medium
260. Single Number III Bit Manipulation Medium
338. Counting Bits Bit Manipulation Medium
1434. Number of Ways to Wear Different Hats to Each Other Bit Manipulation Hard
1707. Maximum XOR With an Element From Array Bit Manipulation Hard
1611. Minimum One Bit Operations to Make Integers Zero Bit Manipulation Hard
1542. Find Longest Awesome Substring Bit Manipulation Hard
1434. Number of Ways to Wear Different Hats to Each Other Bit Manipulation Hard
997. Find the Town Judge Graph Easy
797. All Paths From Source to Target Graph Medium
1557. Minimum Number of Vertices to Reach All Nodes Graph Medium
207. Course Schedule Graph Medium
323. Number of Connected Components in an Undirected Graph Graph Medium
269. Alien Dictionary Graph Hard
685. Redundant Connection II Graph Hard
765. Couples Holding Hands Graph Hard
839. Similar String Groups Graph Hard
996. Number of Squareful Arrays Graph Hard
205. Isomorphic Strings Hash table Easy
187. Repeated DNS Sequence Hash table Medium
49. Group Anagrams Hash table Medium
1048. Longest String Chain Hash table Medium
1044. Longest Duplicate Substring Hash table Hard
1178. Number of Valid Words for Each Puzzle Hash table Hard
76. Minimum Window Substring Hash table Hard
336. Palindrome Pairs Hash table Hard
1224. Maximum Equal Frequency Hash table Hard
1518. Water Bottles Greedy Easy
1578. Minimum Deletion Cost to Avoid Repeating Letters Greedy Medium
955. Delete Columns to Make Sorted II Greedy Medium
402. Remove K Digits Greedy Medium
630. Course Schedule III Greedy Hard
135. Candy Greedy Hard
502. IPO Greedy Hard
1793. Maximum Score of a Good Subarray Greedy Hard
1585. Check If String Is Transformable With Substring Sort Operations Greedy Hard
1353. Maximum Number of Events That Can Be Attended Segment tree Medium
307. Range Sum Query - Mutable Segment tree Medium
315. Count of Smaller Numbers After Self Segment tree Medium
1526. Minimum Number of Increments on Subarrays to Form a Target Array Segment tree Hard
1157. Online Majority Element In Subarray Segment tree Hard
1505. Minimum Possible Integer After at Most K Adjacent Swaps On Digits Segment tree Hard

You might also like