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 }}
potatopri
LeetCode
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
LeetCode
Public
forked from
tanyarajhans/LeetCode
Notifications
You must be signed in to change notification settings
Fork
0
(
0
)
Star
0
(
0
)
You must be signed in to star a repository
About
Collection of LeetCode questions to ace the coding interview!
Resources
Readme
Activity
Stars
0
stars
Watchers
0
watching
Forks
0
forks
Report repository
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
1,802 Commits
1,802 Commits
Folders and files
Name
Name
Last commit message
Last commit date
0012-integer-to-roman
0012-integer-to-roman
0015-3sum
0015-3sum
0022-generate-parentheses
0022-generate-parentheses
0025-reverse-nodes-in-k-group
0025-reverse-nodes-in-k-group
0033-search-in-rotated-sorted-array
0033-search-in-rotated-sorted-array
0034-find-first-and-last-position-of-element-in-sorted-array
0034-find-first-and-last-position-of-element-in-sorted-array
0036-valid-sudoku
0036-valid-sudoku
0038-count-and-say
0038-count-and-say
0042-trapping-rain-water
0042-trapping-rain-water
0044-wildcard-matching
0044-wildcard-matching
0063-unique-paths-ii
0063-unique-paths-ii
0075-sort-colors
0075-sort-colors
0076-minimum-window-substring
0076-minimum-window-substring
0084-largest-rectangle-in-histogram
0084-largest-rectangle-in-histogram
01-matrix
01-matrix
0173-binary-search-tree-iterator
0173-binary-search-tree-iterator
0200-number-of-islands
0200-number-of-islands
0206-reverse-linked-list
0206-reverse-linked-list
0207-course-schedule
0207-course-schedule
0210-course-schedule-ii
0210-course-schedule-ii
0215-kth-largest-element-in-an-array
0215-kth-largest-element-in-an-array
0219-contains-duplicate-ii
0219-contains-duplicate-ii
0230-kth-smallest-element-in-a-bst
0230-kth-smallest-element-in-a-bst
0236-lowest-common-ancestor-of-a-binary-tree
0236-lowest-common-ancestor-of-a-binary-tree
0237-delete-node-in-a-linked-list
0237-delete-node-in-a-linked-list
0295-find-median-from-data-stream
0295-find-median-from-data-stream
0322-coin-change
0322-coin-change
0334-increasing-triplet-subsequence
0334-increasing-triplet-subsequence
0394-decode-string
0394-decode-string
0433-minimum-genetic-mutation
0433-minimum-genetic-mutation
0523-continuous-subarray-sum
0523-continuous-subarray-sum
0552-student-attendance-record-ii
0552-student-attendance-record-ii
0628-maximum-product-of-three-numbers
0628-maximum-product-of-three-numbers
0645-set-mismatch
0645-set-mismatch
0692-top-k-frequent-words
0692-top-k-frequent-words
0778-swim-in-rising-water
0778-swim-in-rising-water
0811-subdomain-visit-count
0811-subdomain-visit-count
0835-image-overlap
0835-image-overlap
0976-largest-perimeter-triangle
0976-largest-perimeter-triangle
1007-minimum-domino-rotations-for-equal-row
1007-minimum-domino-rotations-for-equal-row
1029-two-city-scheduling
1029-two-city-scheduling
104-maximum-depth-of-binary-tree
104-maximum-depth-of-binary-tree
1046-last-stone-weight
1046-last-stone-weight
1048-longest-string-chain
1048-longest-string-chain
105-construct-binary-tree-from-preorder-and-inorder-traversal
105-construct-binary-tree-from-preorder-and-inorder-traversal
108-convert-sorted-array-to-binary-search-tree
108-convert-sorted-array-to-binary-search-tree
109-convert-sorted-list-to-binary-search-tree
109-convert-sorted-list-to-binary-search-tree
11-container-with-most-water
11-container-with-most-water
1110-delete-nodes-and-return-forest
1110-delete-nodes-and-return-forest
112-path-sum
112-path-sum
114-flatten-binary-tree-to-linked-list
114-flatten-binary-tree-to-linked-list
1146-snapshot-array
1146-snapshot-array
1155-number-of-dice-rolls-with-target-sum
1155-number-of-dice-rolls-with-target-sum
116-populating-next-right-pointers-in-each-node
116-populating-next-right-pointers-in-each-node
1170-compare-strings-by-frequency-of-the-smallest-character
1170-compare-strings-by-frequency-of-the-smallest-character
1171-remove-zero-sum-consecutive-nodes-from-linked-list
1171-remove-zero-sum-consecutive-nodes-from-linked-list
1172-dinner-plate-stacks
1172-dinner-plate-stacks
1203-sort-items-by-groups-respecting-dependencies
1203-sort-items-by-groups-respecting-dependencies
1209-remove-all-adjacent-duplicates-in-string-ii
1209-remove-all-adjacent-duplicates-in-string-ii
121-best-time-to-buy-and-sell-stock
121-best-time-to-buy-and-sell-stock
1219-path-with-maximum-gold
1219-path-with-maximum-gold
1220-count-vowels-permutation
1220-count-vowels-permutation
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
126-word-ladder-ii
126-word-ladder-ii
1260-shift-2d-grid
1260-shift-2d-grid
1268-search-suggestions-system
1268-search-suggestions-system
127-word-ladder
127-word-ladder
1288-remove-covered-intervals
1288-remove-covered-intervals
1291-sequential-digits
1291-sequential-digits
1293-shortest-path-in-a-grid-with-obstacles-elimination
1293-shortest-path-in-a-grid-with-obstacles-elimination
1297-maximum-number-of-occurrences-of-a-substring
1297-maximum-number-of-occurrences-of-a-substring
1302-deepest-leaves-sum
1302-deepest-leaves-sum
1305-all-elements-in-two-binary-search-trees
1305-all-elements-in-two-binary-search-trees
131-palindrome-partitioning
131-palindrome-partitioning
132-pattern
132-pattern
1326-minimum-number-of-taps-to-open-to-water-a-garden
1326-minimum-number-of-taps-to-open-to-water-a-garden
1328-break-a-palindrome
1328-break-a-palindrome
133-clone-graph
133-clone-graph
1332-remove-palindromic-subsequences
1332-remove-palindromic-subsequences
1335-minimum-difficulty-of-a-job-schedule
1335-minimum-difficulty-of-a-job-schedule
1337-the-k-weakest-rows-in-a-matrix
1337-the-k-weakest-rows-in-a-matrix
1338-reduce-array-size-to-the-half
1338-reduce-array-size-to-the-half
1342-number-of-steps-to-reduce-a-number-to-zero
1342-number-of-steps-to-reduce-a-number-to-zero
135-candy
135-candy
1354-construct-target-array-with-multiple-sums
1354-construct-target-array-with-multiple-sums
1359-count-all-valid-pickup-and-delivery-options
1359-count-all-valid-pickup-and-delivery-options
136-single-number
136-single-number
1367-linked-list-in-binary-tree
1367-linked-list-in-binary-tree
1368-minimum-cost-to-make-at-least-one-valid-path-in-a-grid
1368-minimum-cost-to-make-at-least-one-valid-path-in-a-grid
1371-find-the-longest-substring-containing-vowels-in-even-counts
1371-find-the-longest-substring-containing-vowels-in-even-counts
1373-maximum-sum-bst-in-binary-tree
1373-maximum-sum-bst-in-binary-tree
1379-find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree
1379-find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree
138-copy-list-with-random-pointer
138-copy-list-with-random-pointer
1383-maximum-performance-of-a-team
1383-maximum-performance-of-a-team
139-word-break
139-word-break
1393-capital-gain-loss
1393-capital-gain-loss
1396-design-underground-system
1396-design-underground-system
141-linked-list-cycle
141-linked-list-cycle
1414-find-the-minimum-number-of-fibonacci-numbers-whose-sum-is-k
1414-find-the-minimum-number-of-fibonacci-numbers-whose-sum-is-k
View all files
Repository files navigation
README
More
items
LeetCode
Collection of LeetCode questions to ace the coding interview!
About
Collection of LeetCode questions to ace the coding interview!
Resources
Readme
Activity
Stars
0
stars
Watchers
0
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.