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
Developer articles
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 }}
divy042000
LeetCode
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
LeetCode
Public
Notifications
You must be signed in to change notification settings
Fork
0
(
0
)
Star
1
(
1
)
You must be signed in to star a repository
About
This repository is truly dedicated to the Leetcode solutions
Topics
competative
creative
Resources
Readme
Activity
Stars
1
star
Watchers
1
watching
Forks
0
forks
Report repository
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
82 Commits
82 Commits
Folders and files
Name
Name
Last commit message
Last commit date
0459-repeated-substring-pattern
0459-repeated-substring-pattern
0877-stone-game
0877-stone-game
1. Two Sum
1. Two Sum
104. Maximum Depth of Binary Tree
104. Maximum Depth of Binary Tree
1089. Duplicate Zeros
1089. Duplicate Zeros
1122. Relative Sort Array
1122. Relative Sort Array
1190. Reverse Substrings Between Each Pair of Parentheses
1190. Reverse Substrings Between Each Pair of Parentheses
1207. Unique Number of Occurrences
1207. Unique Number of Occurrences
1221. Split a String in Balanced Strings
1221. Split a String in Balanced Strings
1239. Maximum Length of a Concatenated String with Unique Characters
1239. Maximum Length of a Concatenated String with Unique Characters
1302. Deepest Leaves Sum
1302. Deepest Leaves Sum
142. Linked List Cycle II
142. Linked List Cycle II
1464. Maximum Product of Two Elements in an Array
1464. Maximum Product of Two Elements in an Array
1470. Shuffle the Array
1470. Shuffle the Array
150. Evaluate Reverse Polish Notation
150. Evaluate Reverse Polish Notation
1512. Number of Good Pairs
1512. Number of Good Pairs
1561. Maximum Number of Coins You Can Get
1561. Maximum Number of Coins You Can Get
1624. Largest Substring Between Two Equal Characters
1624. Largest Substring Between Two Equal Characters
1637. Widest Vertical Area Between Two Points Containing No Points
1637. Widest Vertical Area Between Two Points Containing No Points
1662. Check If Two String Arrays are Equivalent
1662. Check If Two String Arrays are Equivalent
1672. Richest Customer Wealth
1672. Richest Customer Wealth
169. Majority Element
169. Majority Element
1704. Determine if String Halves Are Alike
1704. Determine if String Halves Are Alike
1732. Find the Highest Altitude
1732. Find the Highest Altitude
1748. Sum of Unique Elements
1748. Sum of Unique Elements
1832. Check if the Sentence Is Pangram
1832. Check if the Sentence Is Pangram
187. Repeated DNA Sequences
187. Repeated DNA Sequences
1877. Minimize Maximum Pair Sum in Array
1877. Minimize Maximum Pair Sum in Array
19. Remove Nth Node From End of List
19. Remove Nth Node From End of List
191. Number of 1 Bits
191. Number of 1 Bits
1913. Maximum Product Difference Between Two Pairs
1913. Maximum Product Difference Between Two Pairs
1920. Build Array from Permutation
1920. Build Array from Permutation
20. Valid Parentheses
20. Valid Parentheses
2037. Minimum Number of Moves to Seat Everyone
2037. Minimum Number of Moves to Seat Everyone
207. Course Schedule
207. Course Schedule
2079. Watering Plants
2079. Watering Plants
210. Course Schedule II
210. Course Schedule II
2160. Minimum Sum of Four Digit Number After Splitting Digits
2160. Minimum Sum of Four Digit Number After Splitting Digits
22. Generate Parentheses
22. Generate Parentheses
242. Valid Anagram
242. Valid Anagram
2483. Minimum Penalty for a Shop
2483. Minimum Penalty for a Shop
26. Remove Duplicates from Sorted Array
26. Remove Duplicates from Sorted Array
263. Ugly Number
263. Ugly Number
2870. Minimum Number of Operations to Make Array Empty
2870. Minimum Number of Operations to Make Array Empty
31. Next Permutation
31. Next Permutation
442. Find All Duplicates in an Array
442. Find All Duplicates in an Array
448. Find All Numbers Disappeared in an Array
448. Find All Numbers Disappeared in an Array
49. Group Anagrams
49. Group Anagrams
506. Relative Ranks
506. Relative Ranks
53. Maximum Subarray
53. Maximum Subarray
54. Spiral Matrix
54. Spiral Matrix
543. Diameter of Binary Tree
543. Diameter of Binary Tree
58. Length of Last Word
58. Length of Last Word
645. Set Mismatch
645. Set Mismatch
75. Sort Colors
75. Sort Colors
791. Custom Sort String.cpp
791. Custom Sort String.cpp
796. Rotate String
796. Rotate String
872. Leaf-Similar Trees
872. Leaf-Similar Trees
942. DI String Match
942. DI String Match
98. Validate Binary Search Tree
98. Validate Binary Search Tree
Add two numbers represented as Linked Lists
Add two numbers represented as Linked Lists
Convert an array to a Linked List
Convert an array to a Linked List
Delete Head Node of Linked List
Delete Head Node of Linked List
Delete Last Node of Linked List
Delete Last Node of Linked List
Find Peak Element
Find Peak Element
Find length of Loop
Find length of Loop
Insert Node at end of Linked List
Insert Node at end of Linked List
Kth Smallest Element in a Sorted Matrix
Kth Smallest Element in a Sorted Matrix
Merge Intervals
Merge Intervals
Number of Provinces
Number of Provinces
README.md
README.md
Range Sum of BST.cpp
Range Sum of BST.cpp
Reverse Linked List Using the recursion
Reverse Linked List Using the recursion
Reverse-Linked-List-2
Reverse-Linked-List-2
ReverseAnInteger.cpp
ReverseAnInteger.cpp
Topological Sorting
Topological Sorting
Tortoise Algorithm
Tortoise Algorithm
View all files
Repository files navigation
README
More
items
LeetCode Solution Available
About
This repository is truly dedicated to the Leetcode solutions
Topics
competative
creative
Resources
Readme
Activity
Stars
1
star
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.