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 }}
A-P-Shukla
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
0
(
0
)
You must be signed in to star a repository
About
My solutions on the Leetcode. Trying to update Daily.
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
1,807 Commits
1,807 Commits
Folders and files
Name
Name
Last commit message
Last commit date
1-two-sum
1-two-sum
1009-complement-of-base-10-integer
1009-complement-of-base-10-integer
102-binary-tree-level-order-traversal
102-binary-tree-level-order-traversal
1021-remove-outermost-parentheses
1021-remove-outermost-parentheses
1022-sum-of-root-to-leaf-binary-numbers
1022-sum-of-root-to-leaf-binary-numbers
104-maximum-depth-of-binary-tree
104-maximum-depth-of-binary-tree
1081-smallest-subsequence-of-distinct-characters
1081-smallest-subsequence-of-distinct-characters
1096-brace-expansion-ii
1096-brace-expansion-ii
1111-maximum-nesting-depth-of-two-valid-parentheses-strings
1111-maximum-nesting-depth-of-two-valid-parentheses-strings
1140-stone-game-ii
1140-stone-game-ii
115-distinct-subsequences
115-distinct-subsequences
1189-maximum-number-of-balloons
1189-maximum-number-of-balloons
1190-reverse-substrings-between-each-pair-of-parentheses
1190-reverse-substrings-between-each-pair-of-parentheses
1201-ugly-number-iii
1201-ugly-number-iii
122-best-time-to-buy-and-sell-stock-ii
122-best-time-to-buy-and-sell-stock-ii
125-valid-palindrome
125-valid-palindrome
1254-Number-of-Closed-Islands
1254-Number-of-Closed-Islands
1260-shift-2d-grid
1260-shift-2d-grid
1288-remove-covered-intervals
1288-remove-covered-intervals
1291-sequential-digits
1291-sequential-digits
1301-number-of-paths-with-max-score
1301-number-of-paths-with-max-score
1306-jump-game-iii
1306-jump-game-iii
1320-Minimum-Distance-to-Type-a-Word-Using-Two-Fingers
1320-Minimum-Distance-to-Type-a-Word-Using-Two-Fingers
1331-rank-transform-of-an-array
1331-rank-transform-of-an-array
1340-jump-game-v
1340-jump-game-v
1344-angle-between-hands-of-a-clock
1344-angle-between-hands-of-a-clock
1345-jump-game-iv
1345-jump-game-iv
1352-product-of-the-last-k-numbers
1352-product-of-the-last-k-numbers
1357-apply-discount-every-n-orders
1357-apply-discount-every-n-orders
1358-number-of-substrings-containing-all-three-characters
1358-number-of-substrings-containing-all-three-characters
1385-Find-the-Distance-Value-Between-Two-Arrays
1385-Find-the-Distance-Value-Between-Two-Arrays
1386-cinema-seat-allocation
1386-cinema-seat-allocation
1391-check-if-there-is-a-valid-path-in-a-grid
1391-check-if-there-is-a-valid-path-in-a-grid
1401-circle-and-rectangle-overlapping
1401-circle-and-rectangle-overlapping
1406-stone-game-iii
1406-stone-game-iii
1415-the-k-th-lexicographical-string-of-all-happy-strings-of-length-n
1415-the-k-th-lexicographical-string-of-all-happy-strings-of-length-n
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
1477-find-two-non-overlapping-sub-arrays-each-with-target-sum
1477-find-two-non-overlapping-sub-arrays-each-with-target-sum
15-3sum
15-3sum
1510-stone-game-iv
1510-stone-game-iv
1520-maximum-number-of-non-overlapping-substrings
1520-maximum-number-of-non-overlapping-substrings
1524-number-of-sub-arrays-with-odd-sum
1524-number-of-sub-arrays-with-odd-sum
153-find-minimum-in-rotated-sorted-array
153-find-minimum-in-rotated-sorted-array
1536-minimum-swaps-to-arrange-a-binary-grid
1536-minimum-swaps-to-arrange-a-binary-grid
154-find-minimum-in-rotated-sorted-array-ii
154-find-minimum-in-rotated-sorted-array-ii
1541-minimum-insertions-to-balance-a-parentheses-string
1541-minimum-insertions-to-balance-a-parentheses-string
1545-find-kth-bit-in-nth-binary-string
1545-find-kth-bit-in-nth-binary-string
1559-detect-cycles-in-2d-grid
1559-detect-cycles-in-2d-grid
1563-stone-game-v
1563-stone-game-v
1569-Number-of-Ways-to-Reorder-Array-to-Get-Same-BST
1569-Number-of-Ways-to-Reorder-Array-to-Get-Same-BST
1594-maximum-non-negative-product-in-a-matrix
1594-maximum-non-negative-product-in-a-matrix
1606-find-servers-that-handled-most-number-of-requests
1606-find-servers-that-handled-most-number-of-requests
1614-maximum-nesting-depth-of-the-parentheses
1614-maximum-nesting-depth-of-the-parentheses
1621-number-of-sets-of-k-non-overlapping-line-segments
1621-number-of-sets-of-k-non-overlapping-line-segments
1622-fancy-sequence
1622-fancy-sequence
1658-minimum-operations-to-reduce-x-to-zero
1658-minimum-operations-to-reduce-x-to-zero
1665-minimum-initial-energy-to-finish-tasks
1665-minimum-initial-energy-to-finish-tasks
1674-minimum-moves-to-make-array-complementary
1674-minimum-moves-to-make-array-complementary
1680-concatenation-of-consecutive-binary-numbers
1680-concatenation-of-consecutive-binary-numbers
1689-partitioning-into-minimum-number-of-deci-binary-numbers
1689-partitioning-into-minimum-number-of-deci-binary-numbers
1704-special-positions-in-a-binary-matrix
1704-special-positions-in-a-binary-matrix
1722-minimize-hamming-distance-after-swap-operations
1722-minimize-hamming-distance-after-swap-operations
1727-largest-submatrix-with-rearrangements
1727-largest-submatrix-with-rearrangements
1732-find-the-highest-altitude
1732-find-the-highest-altitude
1752-check-if-array-is-sorted-and-rotated
1752-check-if-array-is-sorted-and-rotated
18-4sum
18-4sum
1807-evaluate-the-bracket-pairs-of-a-string
1807-evaluate-the-bracket-pairs-of-a-string
1833-maximum-ice-cream-bars
1833-maximum-ice-cream-bars
1840-maximum-building-height
1840-maximum-building-height
1846-maximum-element-after-decreasing-and-rearranging
1846-maximum-element-after-decreasing-and-rearranging
1848-minimum-distance-to-the-target-element
1848-minimum-distance-to-the-target-element
1855-maximum-distance-between-a-pair-of-values
1855-maximum-distance-between-a-pair-of-values
1861-rotating-the-box
1861-rotating-the-box
1871-jump-game-vii
1871-jump-game-vii
1872-stone-game-viii
1872-stone-game-viii
1878-get-biggest-three-rhombus-sums-in-a-grid
1878-get-biggest-three-rhombus-sums-in-a-grid
1886-determine-whether-matrix-can-be-obtained-by-rotation
1886-determine-whether-matrix-can-be-obtained-by-rotation
1888-minimum-number-of-flips-to-make-the-binary-string-alternating
1888-minimum-number-of-flips-to-make-the-binary-string-alternating
1914-cyclically-rotating-a-grid
1914-cyclically-rotating-a-grid
1927-sum-game
1927-sum-game
1967-number-of-strings-that-appear-as-substrings-in-word
1967-number-of-strings-that-appear-as-substrings-in-word
1979-find-greatest-common-divisor-of-array
1979-find-greatest-common-divisor-of-array
1980-find-unique-binary-string
1980-find-unique-binary-string
20-valid-parentheses
20-valid-parentheses
2029-stone-game-ix
2029-stone-game-ix
2033-minimum-operations-to-make-a-uni-value-grid
2033-minimum-operations-to-make-a-uni-value-grid
2058-find-the-minimum-and-maximum-number-of-nodes-between-critical-points
2058-find-the-minimum-and-maximum-number-of-nodes-between-critical-points
2069-walking-robot-simulation-ii
2069-walking-robot-simulation-ii
2075-decode-the-slanted-ciphertext
2075-decode-the-slanted-ciphertext
2076-process-restricted-friend-requests
2076-process-restricted-friend-requests
2078-two-furthest-houses-with-different-colors
2078-two-furthest-houses-with-different-colors
2089-find-target-indices-after-sorting-array
2089-find-target-indices-after-sorting-array
2091-Removing-Minimum-And-Maximum-Of-Array
2091-Removing-Minimum-And-Maximum-Of-Array
2095-delete-the-middle-node-of-a-linked-list
2095-delete-the-middle-node-of-a-linked-list
2124-check-if-all-as-appears-before-all-bs
2124-check-if-all-as-appears-before-all-bs
2126-destroying-asteroids
2126-destroying-asteroids
2130-maximum-twin-sum-of-a-linked-list
2130-maximum-twin-sum-of-a-linked-list
2144-minimum-cost-of-buying-candies-with-discount
2144-minimum-cost-of-buying-candies-with-discount
2161-partition-array-according-to-given-pivot
2161-partition-array-according-to-given-pivot
View all files
About
My solutions on the Leetcode. Trying to update Daily.
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.