Skip to content

Jeffrey-Codebase/leetcode-solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Leetcode Solutions

HARD

Problem
4. Median of Two Sorted Arrays
23. Merge k Sorted Lists
41. First Missing Positive
44. Wildcard Matching
68. Text Justification
76. Minimum Window Substring
124. Binary Tree Maximum Path Sum
154. Find Minimum in Rotated Sorted Array II
212. Word Search II
295. Find Median from Data Stream
297. Serialize and Deserialize Binary Tree
839. Similar String Groups
1125. Smallest Sufficient Team
1373. Maximum Sum BST in Binary Tree
1416. Restore The Array
1537. Get the Maximum Score
1912. Design Movie Rental System

MEDIUM

Problem
8. String to Integer (atoi)
15. 3Sum
29. Divide Two Integers
49. Group Anagrams
55. Jump Game
56. Merge Intervals
57. Insert Interval
62. Unique Paths
73. Set Matrix Zeroes
79. Word Search
81. Search in Rotated Sorted Array II
91. Decode Ways
98. Validate Binary Search Tree
102. Binary Tree Level Order Traversal
105. Construct Binary Tree from Preorder and Inorder Traversal
139. Word Break
143. Reorder List
147. Insertion Sort List
152. Maximum Product Subarray
198. House Robber
200. Number of Islands
207. Course Schedule
208. Implement Trie
211. Design Add and Search Words Data Structure
213. House Robber II
230. Kth Smallest Element in a BST
300. Longest Increasing Subsequence
310. Minimum Height Trees
322. Coin Change
347. Top K Frequent Elements
357. Count Numbers with Unique Digits
385. Mini Parser
396. Rotate Function
417. Pacific Atlantic Water Flow
435. Non-overlapping Intervals
436. Find Right Interval
464. Can I Win
467. Unique Substrings in Wraparound String
475. Heaters
519. Random Flip Matrix
522. Longest Uncommon Subsequence II
576. Out of Boundary Paths
647. Palindromic Substrings
659. Split Array into Consecutive Subsequences
665. Non-decreasing Array
687. Longest Univalue Path
743. Network Delay Time
775. Global and Local Inversions
809. Expressive Words
831. Masking Personal Information
901. Online Stock Span
948. Bag of Tokens
949. Largest Time for Given Digits
955. Delete Columns to Make Sorted II
962. Maximum Width Ramp
1014. Best Sightseeing Pair
1093. Statistics from a Large Sample
1139. Largest 1-Bordered Square
1156. Swap For Longest Repeated Character Substring
1162. As Far from Land as Possible
1191. K-Concatenation Maximum Sum
1253. Reconstruct a 2-Row Binary Matrix
1339. Maximum Product of Splitted Binary Tree
1367. Linked List in Binary Tree
1390. Four Divisor
1391. Check if There is a Valid Path in a Grid
1424. Diagonal Traverse II
1477. Find Two Non-overlapping Sub-arrays Each With Target Sum
1497. Check If Array Pairs Are Divisible by k
1513. Number of Substrings With Only 1s
1519. Number of Nodes in the Sub-Tree With the Same Label
1524. Number of Sub-arrays With Odd Sum
1541. Minimum Insertions to Balance a Parentheses String
1562. Find Latest Group of Size M
1574. Shortest Subarray to be Removed to Make Array Sorted
1589. Maximum Sum Obtained of Any Permutation
1674. Minimum Moves to Make Array Complementary
1733. Minimum Number of People to Teach
1750. Minimum Length of String After Deleting Similar Ends
1754. Largest Merge Of Two Strings
1770. Maximum Score from Performing Multiplication Operations
1785. Minimum Elements to Add to Form a Given Sum
1801. Number of Orders in the Backlog
1814. Count Nice Pairs in an Array
1824. Minimum Sideway Jumps
1834. Single-Threaded CPU
1849. Splitting a String Into Descending Consecutive Values
1855. Maximum Distance Between a Pair of Values
1881. Maximum Value after Insertion
1888. Minimum Number of Flips to Make the Binary String Alternating
1894. Find the Student that Will Replace the Chalk
1906. Minimum Absolute Difference Queries
1921. Eliminate Maximum Number of Monsters
1926. Nearest Exit from Entrance in Maze
1936. Add Minimum Number of Rungs
1942. The Number of the Smallest Unoccupied Chair
1953. Maximum Number of Weeks for Which You Can Work
1976. Number of Ways to Arrive at Destination
1981. Minimize the Difference Between Target and Chosen Elements

EASY

Problem
7. Reverse Integer
53. Maximum Subarray
58. Length of Last Word
70. Climbing Stairs
100. Same Tree
104. Maximum Depth of Binary Tree
121. Best Time to Buy and Sell Stock
141. Linked List Cycle
206. Reverse Linked List
226. Invert Binary Tree
242. Valid Anagram
414. Third Maximum Number
434. Number of Segments in a String
507. Perfect Number
572. Subtree of Another Tree
605. Can Place Flowers
671. Second Minimum Node In a Binary Tree
925. Long Pressed Name
941. Valid Mountain Array
1037. Valid Boomerang
1805. Number of Different Integers in a String
1909. Remove One Element to Make the Array Strictly Increasing

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages