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 }}
Paras-x
DSA
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
DSA
Public
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
LeetCode
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
643 Commits
643 Commits
Folders and files
Name
Name
Last commit message
Last commit date
1-two-sum
1-two-sum
1013-fibonacci-number
1013-fibonacci-number
1019-squares-of-a-sorted-array
1019-squares-of-a-sorted-array
1028-interval-list-intersections
1028-interval-list-intersections
1031-add-to-array-form-of-integer
1031-add-to-array-form-of-integer
1036-rotting-oranges
1036-rotting-oranges
1046-max-consecutive-ones-iii
1046-max-consecutive-ones-iii
108-convert-sorted-array-to-binary-search-tree
108-convert-sorted-array-to-binary-search-tree
1086-divisor-game
1086-divisor-game
11-container-with-most-water
11-container-with-most-water
1128-remove-all-adjacent-duplicates-in-string
1128-remove-all-adjacent-duplicates-in-string
1137-height-checker
1137-height-checker
118-pascals-triangle
118-pascals-triangle
119-pascals-triangle-ii
119-pascals-triangle-ii
1195-distribute-candies-to-people
1195-distribute-candies-to-people
12-integer-to-roman
12-integer-to-roman
1205-defanging-an-ip-address
1205-defanging-an-ip-address
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
13-roman-to-integer
13-roman-to-integer
130-surrounded-regions
130-surrounded-regions
1306-minimum-absolute-difference
1306-minimum-absolute-difference
1319-unique-number-of-occurrences
1319-unique-number-of-occurrences
1320-remove-all-adjacent-duplicates-in-string-ii
1320-remove-all-adjacent-duplicates-in-string-ii
1329-minimum-cost-to-move-chips-to-the-same-position
1329-minimum-cost-to-move-chips-to-the-same-position
136-single-number
136-single-number
137-single-number-ii
137-single-number-ii
14-longest-common-prefix
14-longest-common-prefix
1406-subtract-the-product-and-sum-of-digits-of-an-integer
1406-subtract-the-product-and-sum-of-digits-of-an-integer
1421-find-numbers-with-even-number-of-digits
1421-find-numbers-with-even-number-of-digits
1427-all-elements-in-two-binary-search-trees
1427-all-elements-in-two-binary-search-trees
1444-number-of-steps-to-reduce-a-number-to-zero
1444-number-of-steps-to-reduce-a-number-to-zero
1448-maximum-69-number
1448-maximum-69-number
1468-check-if-n-and-its-double-exist
1468-check-if-n-and-its-double-exist
1482-how-many-numbers-are-smaller-than-the-current-number
1482-how-many-numbers-are-smaller-than-the-current-number
1485-minimum-cost-to-make-at-least-one-valid-path-in-a-grid
1485-minimum-cost-to-make-at-least-one-valid-path-in-a-grid
1486-find-the-distance-value-between-two-arrays
1486-find-the-distance-value-between-two-arrays
149-max-points-on-a-line
149-max-points-on-a-line
152-maximum-product-subarray
152-maximum-product-subarray
153-find-minimum-in-rotated-sorted-array
153-find-minimum-in-rotated-sorted-array
1574-maximum-product-of-two-elements-in-an-array
1574-maximum-product-of-two-elements-in-an-array
1586-longest-subarray-of-1s-after-deleting-one-element
1586-longest-subarray-of-1s-after-deleting-one-element
1610-xor-operation-in-an-array
1610-xor-operation-in-an-array
162-find-peak-element
162-find-peak-element
164-maximum-gap
164-maximum-gap
1646-kth-missing-positive-number
1646-kth-missing-positive-number
1656-count-good-triplets
1656-count-good-triplets
1661-minimum-number-of-vertices-to-reach-all-nodes
1661-minimum-number-of-vertices-to-reach-all-nodes
167-two-sum-ii-input-array-is-sorted
167-two-sum-ii-input-array-is-sorted
1683-maximum-number-of-coins-you-can-get
1683-maximum-number-of-coins-you-can-get
17-letter-combinations-of-a-phone-number
17-letter-combinations-of-a-phone-number
1706-min-cost-to-connect-all-points
1706-min-cost-to-connect-all-points
172-factorial-trailing-zeroes
172-factorial-trailing-zeroes
1732-minimum-one-bit-operations-to-make-integers-zero
1732-minimum-one-bit-operations-to-make-integers-zero
1737-maximum-nesting-depth-of-the-parentheses
1737-maximum-nesting-depth-of-the-parentheses
1742-widest-vertical-area-between-two-points-containing-no-points
1742-widest-vertical-area-between-two-points-containing-no-points
1769-get-maximum-in-generated-array
1769-get-maximum-in-generated-array
1889-check-if-number-is-a-sum-of-powers-of-three
1889-check-if-number-is-a-sum-of-powers-of-three
1894-merge-strings-alternately
1894-merge-strings-alternately
1895-minimum-number-of-operations-to-move-all-balls-to-each-box
1895-minimum-number-of-operations-to-move-all-balls-to-each-box
191-number-of-1-bits
191-number-of-1-bits
1916-find-center-of-star-graph
1916-find-center-of-star-graph
1951-find-the-winner-of-the-circular-game
1951-find-the-winner-of-the-circular-game
1961-maximum-ice-cream-bars
1961-maximum-ice-cream-bars
1965-sum-of-digits-in-base-k
1965-sum-of-digits-in-base-k
198-house-robber
198-house-robber
200-number-of-islands
200-number-of-islands
2037-count-square-sum-triples
2037-count-square-sum-triples
2042-maximum-product-difference-between-two-pairs
2042-maximum-product-difference-between-two-pairs
205-isomorphic-strings
205-isomorphic-strings
2058-concatenation-of-array
2058-concatenation-of-array
207-course-schedule
207-course-schedule
2083-three-divisors
2083-three-divisors
209-minimum-size-subarray-sum
209-minimum-size-subarray-sum
210-course-schedule-ii
210-course-schedule-ii
2106-find-greatest-common-divisor-of-array
2106-find-greatest-common-divisor-of-array
2121-find-if-path-exists-in-graph
2121-find-if-path-exists-in-graph
2122-count-special-quadruplets
2122-count-special-quadruplets
213-house-robber-ii
213-house-robber-ii
2134-maximize-the-confusion-of-an-exam
2134-maximize-the-confusion-of-an-exam
2148-minimum-number-of-moves-to-seat-everyone
2148-minimum-number-of-moves-to-seat-everyone
215-kth-largest-element-in-an-array
215-kth-largest-element-in-an-array
217-contains-duplicate
217-contains-duplicate
221-maximal-square
221-maximal-square
2210-find-target-indices-after-sorting-array
2210-find-target-indices-after-sorting-array
2215-finding-3-digit-even-numbers
2215-finding-3-digit-even-numbers
2238-a-number-after-a-double-reversal
2238-a-number-after-a-double-reversal
224-basic-calculator
224-basic-calculator
2243-check-if-all-as-appears-before-all-bs
2243-check-if-all-as-appears-before-all-bs
2248-minimum-cost-of-buying-candies-with-discount
2248-minimum-cost-of-buying-candies-with-discount
2265-partition-array-according-to-given-pivot
2265-partition-array-according-to-given-pivot
2274-keep-multiplying-found-values-by-two
2274-keep-multiplying-found-values-by-two
2283-sort-even-and-odd-indices-independently
2283-sort-even-and-odd-indices-independently
2288-count-operations-to-obtain-zero
2288-count-operations-to-obtain-zero
2298-count-integers-with-even-digit-sum
2298-count-integers-with-even-digit-sum
230-kth-smallest-element-in-a-bst
230-kth-smallest-element-in-a-bst
238-product-of-array-except-self
238-product-of-array-except-self
2383-add-two-integers
2383-add-two-integers
2427-first-letter-to-appear-twice
2427-first-letter-to-appear-twice
2470-removing-stars-from-a-string
2470-removing-stars-from-a-string
View all files
About
LeetCode
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.