Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
developer-docs
Leetcode-Solutions
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Leetcode-Solutions
Public
Notifications
You must be signed in to change notification settings
Fork
14
(
14
)
Star
20
(
20
)
You must be signed in to star a repository
About
Leetcode Solutions for Developer Docs YouTube Channel
Resources
Readme
Activity
Stars
20
stars
Watchers
3
watching
Forks
14
forks
Report repository
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
178 Commits
178 Commits
Folders and files
Name
Name
Last commit message
Last commit date
1. Two Sum
1. Two Sum
100. Same Tree
100. Same Tree
1026. Maximum Difference Between Node and Ancestor
1026. Maximum Difference Between Node and Ancestor
1043. Partition Array for Maximum Sum
1043. Partition Array for Maximum Sum
1046. Last Stone Weight
1046. Last Stone Weight
11. Container With Most Water
11. Container With Most Water
1143. Longest Common Subsequence
1143. Longest Common Subsequence
1171. Remove Zero Sum Consecutive Nodes from Linked List
1171. Remove Zero Sum Consecutive Nodes from Linked List
121. Best Time to Buy and Sell Stock
121. Best Time to Buy and Sell Stock
122. Best Time to Buy and Sell Stock II
122. Best Time to Buy and Sell Stock II
1235. Maximum Profit in Job Scheduling
1235. Maximum Profit in Job Scheduling
1239. Maximum Length of a Concatenated String with Unique Characters
1239. Maximum Length of a Concatenated String with Unique Characters
1249. Minimum Remove to Make Valid Parentheses
1249. Minimum Remove to Make Valid Parentheses
1291. Sequential Digits
1291. Sequential Digits
1295. Find Numbers with Even Number of Digits
1295. Find Numbers with Even Number of Digits
13. Roman to Integer
13. Roman to Integer
1335. Minimum Difficulty of a Job Schedule
1335. Minimum Difficulty of a Job Schedule
1347. Minimum Number of Steps to Make Two Strings Anagram
1347. Minimum Number of Steps to Make Two Strings Anagram
14. Longest Common Prefix
14. Longest Common Prefix
1422. Maximum Score After Splitting a String
1422. Maximum Score After Splitting a String
143. Reorder List
143. Reorder List
1431. Kids With the Greatest Number of Candies
1431. Kids With the Greatest Number of Candies
1436. Destination City
1436. Destination City
1457. Pseudo-Palindromic Paths in a Binary Tree
1457. Pseudo-Palindromic Paths in a Binary Tree
1463. Cherry Pickup II
1463. Cherry Pickup II
1464. Maximum Product of Two Elements in an Array
1464. Maximum Product of Two Elements in an Array
1480. Running Sum of 1d Array
1480. Running Sum of 1d Array
1481. Least Number of Unique Integers after K Removals
1481. Least Number of Unique Integers after K Removals
1491. Average Salary Excluding the Minimum and Maximum Salary
1491. Average Salary Excluding the Minimum and Maximum Salary
1496. Path Crossing
1496. Path Crossing
15. 3Sum
15. 3Sum
150. Evaluate Reverse Polish Notation
150. Evaluate Reverse Polish Notation
151. Reverse Words in a String
151. Reverse Words in a String
1528. Shuffle String
1528. Shuffle String
153. Find Minimum in Rotated Sorted Array
153. Find Minimum in Rotated Sorted Array
1544. Make The String Great
1544. Make The String Great
1572. Matrix Diagonal Sum
1572. Matrix Diagonal Sum
1609. Even Odd Tree
1609. Even Odd Tree
1614. Maximum Nesting Depth of the Parentheses
1614. Maximum Nesting Depth of the Parentheses
162. Find Peak Element
162. Find Peak Element
1624. Largest Substring Between Two Equal Characters
1624. Largest Substring Between Two Equal Characters
1636. Sort Array by Increasing Frequency
1636. Sort Array by Increasing Frequency
1637. Widest Vertical Area Between Two Points Containing No Points
1637. Widest Vertical Area Between Two Points Containing No Points
1642. Furthest Building You Can Reach
1642. Furthest Building You Can Reach
1657. Determine if Two Strings Are Close
1657. Determine if Two Strings Are Close
1669. Merge In Between Linked Lists
1669. Merge In Between Linked Lists
167. Two Sum II - Input Array Is Sorted
167. Two Sum II - Input Array Is Sorted
1679. Max Number of K-Sum Pairs
1679. Max Number of K-Sum Pairs
169. Majority Element
169. Majority Element
1748. Sum of Unique Elements
1748. Sum of Unique Elements
1750. Minimum Length of String After Deleting Similar Ends
1750. Minimum Length of String After Deleting Similar Ends
1768. Merge Strings Alternately
1768. Merge Strings Alternately
1822. Sign of the Product of an Array
1822. Sign of the Product of an Array
1832. Check if the Sentence Is Pangram
1832. Check if the Sentence Is Pangram
1859. Sorting the Sentence
1859. Sorting the Sentence
189. Rotate Array
189. Rotate Array
1897. Redistribute Characters to Make All Strings Equal
1897. Redistribute Characters to Make All Strings Equal
19. Remove Nth Node From End of List
19. Remove Nth Node From End of List
1913. Maximum Product Difference Between Two Pairs
1913. Maximum Product Difference Between Two Pairs
198. House Robber
198. House Robber
20. Valid Parentheses
20. Valid Parentheses
201. Bitwise AND of Numbers Range Solved
201. Bitwise AND of Numbers Range Solved
205. Isomorphic Strings
205. Isomorphic Strings
206. Reverse Linked List
206. Reverse Linked List
2073. Time Needed to Buy Tickets
2073. Time Needed to Buy Tickets
209. Minimum Size Subarray Sum
209. Minimum Size Subarray Sum
2095. Delete the Middle Node of a Linked List
2095. Delete the Middle Node of a Linked List
2108. Find First Palindromic String in the Array
2108. Find First Palindromic String in the Array
2114. Maximum Number of Words Found in Sentences
2114. Maximum Number of Words Found in Sentences
2125. Number of Laser Beams in a Bank
2125. Number of Laser Beams in a Bank
2149. Rearrange Array Elements by Sign
2149. Rearrange Array Elements by Sign
2161. Partition Array According to Given Pivot
2161. Partition Array According to Given Pivot
217. Contains Duplicate
217. Contains Duplicate
2185. Counting Words With a Given Prefix
2185. Counting Words With a Given Prefix
219. Contains Duplicate II
219. Contains Duplicate II
2225. Find Players With Zero or One Losses
2225. Find Players With Zero or One Losses
2278. Percentage of Letter in String
2278. Percentage of Letter in String
232. Implement Queue using Stacks
232. Implement Queue using Stacks
238. Product of Array Except Self
238. Product of Array Except Self
2385. Amount of Time for Binary Tree to Be Infected
2385. Amount of Time for Binary Tree to Be Infected
2390. Removing Stars From a String
2390. Removing Stars From a String
2402. Meeting Rooms III
2402. Meeting Rooms III
2405. Optimal Partition of String
2405. Optimal Partition of String
2418. Sort the People
2418. Sort the People
2482. Difference Between Ones and Zeros in Row and Column
2482. Difference Between Ones and Zeros in Row and Column
2485. Find the Pivot Integer
2485. Find the Pivot Integer
2506. Count Pairs Of Similar Strings
2506. Count Pairs Of Similar Strings
2544. Alternating digit sum
2544. Alternating digit sum
2562. Find the Array Concatenation Value
2562. Find the Array Concatenation Value
2651. Calculate Delayed Arrival Time
2651. Calculate Delayed Arrival Time
2652. Sum Multiples
2652. Sum Multiples
2660. Determine the Winner of a Bowling Game
2660. Determine the Winner of a Bowling Game
2706. Buy Two Chocolates
2706. Buy Two Chocolates
2710. Remove Trailing Zeros From a String
2710. Remove Trailing Zeros From a String
2784. Check if Array is Good
2784. Check if Array is Good
279. Perfect Squares
279. Perfect Squares
2864. Maximum Odd Binary Number
2864. Maximum Odd Binary Number
287. Find the Duplicate Number
287. Find the Duplicate Number
2870. Minimum Number of Operations to Make Array Empty
2870. Minimum Number of Operations to Make Array Empty
2884. Smallest Missing Integer Greater Than Sequential Prefix Sum
2884. Smallest Missing Integer Greater Than Sequential Prefix Sum
View all files
Repository files navigation
README
More
items
Leetcode-Solutions
Leetcode Solutions for Developer Docs YouTube Channel
About
Leetcode Solutions for Developer Docs YouTube Channel
Resources
Readme
Activity
Stars
20
stars
Watchers
3
watching
Forks
14
forks
Report repository
Releases
Packages
Contributors
You can’t perform that action at this time.