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 }}
dev-j03l
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
0
(
0
)
Star
1
(
1
)
You must be signed in to star a repository
About
My solutions to LeetCode problems in Python and Java
Resources
Readme
Activity
Stars
1
star
Watchers
0
watching
Forks
0
forks
Report repository
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
531 Commits
531 Commits
Folders and files
Name
Name
Last commit message
Last commit date
1-two-sum
1-two-sum
100-same-tree
100-same-tree
101-symmetric-tree
101-symmetric-tree
1036-rotting-oranges
1036-rotting-oranges
104-maximum-depth-of-binary-tree
104-maximum-depth-of-binary-tree
11-container-with-most-water
11-container-with-most-water
110-balanced-binary-tree
110-balanced-binary-tree
112-path-sum
112-path-sum
1128-remove-all-adjacent-duplicates-in-string
1128-remove-all-adjacent-duplicates-in-string
1146-greatest-common-divisor-of-strings
1146-greatest-common-divisor-of-strings
1171-shortest-path-in-binary-matrix
1171-shortest-path-in-binary-matrix
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
125-valid-palindrome
125-valid-palindrome
1290-convert-binary-number-in-a-linked-list-to-integer
1290-convert-binary-number-in-a-linked-list-to-integer
13-roman-to-integer
13-roman-to-integer
1305-number-of-visible-people-in-a-queue
1305-number-of-visible-people-in-a-queue
1319-unique-number-of-occurrences
1319-unique-number-of-occurrences
1343-number-of-sub-arrays-of-size-k-and-average-greater-than-or-equal-to-threshold
1343-number-of-sub-arrays-of-size-k-and-average-greater-than-or-equal-to-threshold
1392-find-the-difference-of-two-arrays
1392-find-the-difference-of-two-arrays
14-longest-common-prefix
14-longest-common-prefix
141-linked-list-cycle
141-linked-list-cycle
142-linked-list-cycle-ii
142-linked-list-cycle-ii
1445-number-of-sub-arrays-of-size-k-and-average-greater-than-or-equal-to-threshold
1445-number-of-sub-arrays-of-size-k-and-average-greater-than-or-equal-to-threshold
145-binary-tree-postorder-traversal
145-binary-tree-postorder-traversal
146-lru-cache
146-lru-cache
1472-design-browser-history
1472-design-browser-history
150-evaluate-reverse-polish-notation
150-evaluate-reverse-polish-notation
152-maximum-product-subarray
152-maximum-product-subarray
1528-kids-with-the-greatest-number-of-candies
1528-kids-with-the-greatest-number-of-candies
155-min-stack
155-min-stack
1567-maximum-number-of-vowels-in-a-substring-of-given-length
1567-maximum-number-of-vowels-in-a-substring-of-given-length
1570-final-prices-with-a-special-discount-in-a-shop
1570-final-prices-with-a-special-discount-in-a-shop
1582-design-browser-history
1582-design-browser-history
160-intersection-of-two-linked-lists
160-intersection-of-two-linked-lists
1666-make-the-string-great
1666-make-the-string-great
169-majority-element
169-majority-element
1700-number-of-students-unable-to-eat-lunch
1700-number-of-students-unable-to-eat-lunch
1720-crawler-log-folder
1720-crawler-log-folder
1737-maximum-nesting-depth-of-the-parentheses
1737-maximum-nesting-depth-of-the-parentheses
1768-merge-strings-alternately
1768-merge-strings-alternately
1777-determine-if-two-strings-are-close
1777-determine-if-two-strings-are-close
1802-number-of-students-unable-to-eat-lunch
1802-number-of-students-unable-to-eat-lunch
1848-sum-of-unique-elements
1848-sum-of-unique-elements
187-repeated-dna-sequences
187-repeated-dna-sequences
1894-merge-strings-alternately
1894-merge-strings-alternately
190-reverse-bits
190-reverse-bits
1905-design-authentication-manager
1905-design-authentication-manager
191-number-of-1-bits
191-number-of-1-bits
1929-concatenation-of-array
1929-concatenation-of-array
198-house-robber
198-house-robber
1987-substrings-of-size-three-with-distinct-characters
1987-substrings-of-size-three-with-distinct-characters
199-binary-tree-right-side-view
199-binary-tree-right-side-view
2-add-two-numbers
2-add-two-numbers
20-valid-parentheses
20-valid-parentheses
200-number-of-islands
200-number-of-islands
202-happy-number
202-happy-number
203-remove-linked-list-elements
203-remove-linked-list-elements
205-isomorphic-strings
205-isomorphic-strings
206-reverse-linked-list
206-reverse-linked-list
209-minimum-size-subarray-sum
209-minimum-size-subarray-sum
21-merge-two-sorted-lists
21-merge-two-sorted-lists
2112-minimum-difference-between-highest-and-lowest-of-k-scores
2112-minimum-difference-between-highest-and-lowest-of-k-scores
213-house-robber-ii
213-house-robber-ii
217-contains-duplicate
217-contains-duplicate
2177-check-whether-two-strings-are-almost-equivalent
2177-check-whether-two-strings-are-almost-equivalent
219-contains-duplicate-ii
219-contains-duplicate-ii
2195-time-needed-to-buy-tickets
2195-time-needed-to-buy-tickets
2216-delete-the-middle-node-of-a-linked-list
2216-delete-the-middle-node-of-a-linked-list
2236-maximum-twin-sum-of-a-linked-list
2236-maximum-twin-sum-of-a-linked-list
225-implement-stack-using-queues
225-implement-stack-using-queues
229-majority-element-ii
229-majority-element-ii
232-implement-queue-using-stacks
232-implement-queue-using-stacks
2338-minimum-consecutive-cards-to-pick-up
2338-minimum-consecutive-cards-to-pick-up
234-palindrome-linked-list
234-palindrome-linked-list
235-lowest-common-ancestor-of-a-binary-search-tree
235-lowest-common-ancestor-of-a-binary-search-tree
242-valid-anagram
242-valid-anagram
2428-equal-row-and-column-pairs
2428-equal-row-and-column-pairs
2463-minimum-recolors-to-get-k-consecutive-black-blocks
2463-minimum-recolors-to-get-k-consecutive-black-blocks
2470-removing-stars-from-a-string
2470-removing-stars-from-a-string
2518-the-employee-that-worked-on-the-longest-task
2518-the-employee-that-worked-on-the-longest-task
2573-remove-nodes-from-linked-list
2573-remove-nodes-from-linked-list
2655-rearrange-array-to-maximize-prefix-score
2655-rearrange-array-to-maximize-prefix-score
266-palindrome-permutation
266-palindrome-permutation
268-missing-number
268-missing-number
27-remove-element
27-remove-element
278-first-bad-version
278-first-bad-version
28-find-the-index-of-the-first-occurrence-in-a-string
28-find-the-index-of-the-first-occurrence-in-a-string
2800-minimum-string-length-after-removing-substrings
2800-minimum-string-length-after-removing-substrings
287-find-the-duplicate-number
287-find-the-duplicate-number
290-word-pattern
290-word-pattern
3-longest-substring-without-repeating-characters
3-longest-substring-without-repeating-characters
328-odd-even-linked-list
328-odd-even-linked-list
338-counting-bits
338-counting-bits
344-reverse-string
344-reverse-string
3447-clear-digits
3447-clear-digits
345-reverse-vowels-of-a-string
345-reverse-vowels-of-a-string
347-top-k-frequent-elements
347-top-k-frequent-elements
349-intersection-of-two-arrays
349-intersection-of-two-arrays
35-search-insert-position
35-search-insert-position
View all files
Repository files navigation
README
More
items
LeetCode Solutions
My solutions to LeetCode problems in Python and Java
About
My solutions to LeetCode problems in Python and Java
Resources
Readme
Activity
Stars
1
star
Watchers
0
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.