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 }}
sachin4429
Leetcode-Java
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Leetcode-Java
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
No description, website, or topics provided.
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
2,230 Commits
2,230 Commits
Folders and files
Name
Name
Last commit message
Last commit date
0070-climbing-stairs
0070-climbing-stairs
0150-evaluate-reverse-polish-notation
0150-evaluate-reverse-polish-notation
0198-house-robber
0198-house-robber
0212-word-search-ii
0212-word-search-ii
0237-delete-node-in-a-linked-list
0237-delete-node-in-a-linked-list
0309-best-time-to-buy-and-sell-stock-with-cooldown
0309-best-time-to-buy-and-sell-stock-with-cooldown
0345-reverse-vowels-of-a-string
0345-reverse-vowels-of-a-string
0834-sum-of-distances-in-tree
0834-sum-of-distances-in-tree
0841-keys-and-rooms
0841-keys-and-rooms
0886-possible-bipartition
0886-possible-bipartition
0899-orderly-queue
0899-orderly-queue
100-same-tree
100-same-tree
1008-construct-binary-search-tree-from-preorder-traversal
1008-construct-binary-search-tree-from-preorder-traversal
1009-complement-of-base-10-integer
1009-complement-of-base-10-integer
101-symmetric-tree
101-symmetric-tree
1011-capacity-to-ship-packages-within-d-days
1011-capacity-to-ship-packages-within-d-days
1013-partition-array-into-three-parts-with-equal-sum
1013-partition-array-into-three-parts-with-equal-sum
1019-next-greater-node-in-linked-list
1019-next-greater-node-in-linked-list
102-binary-tree-level-order-traversal
102-binary-tree-level-order-traversal
1022-sum-of-root-to-leaf-binary-numbers
1022-sum-of-root-to-leaf-binary-numbers
1024-video-stitching
1024-video-stitching
1025-divisor-game
1025-divisor-game
103-binary-tree-zigzag-level-order-traversal
103-binary-tree-zigzag-level-order-traversal
1033-moving-stones-until-consecutive
1033-moving-stones-until-consecutive
1035-uncrossed-lines
1035-uncrossed-lines
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
1051-height-checker
1051-height-checker
107-binary-tree-level-order-traversal-ii
107-binary-tree-level-order-traversal-ii
1074-number-of-submatrices-that-sum-to-target
1074-number-of-submatrices-that-sum-to-target
108-convert-sorted-array-to-binary-search-tree
108-convert-sorted-array-to-binary-search-tree
1091-shortest-path-in-binary-matrix
1091-shortest-path-in-binary-matrix
11-container-with-most-water
11-container-with-most-water
110-balanced-binary-tree
110-balanced-binary-tree
112-path-sum
112-path-sum
113-path-sum-ii
113-path-sum-ii
1137-n-th-tribonacci-number
1137-n-th-tribonacci-number
114-flatten-binary-tree-to-linked-list
114-flatten-binary-tree-to-linked-list
1143-longest-common-subsequence
1143-longest-common-subsequence
1146-snapshot-array
1146-snapshot-array
1154-day-of-the-year
1154-day-of-the-year
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
117-populating-next-right-pointers-in-each-node-ii
117-populating-next-right-pointers-in-each-node-ii
118-pascals-triangle
118-pascals-triangle
119-pascals-triangle-ii
119-pascals-triangle-ii
1192-critical-connections-in-a-network
1192-critical-connections-in-a-network
120-triangle
120-triangle
1200-minimum-absolute-difference
1200-minimum-absolute-difference
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
1217-minimum-cost-to-move-chips-to-the-same-position
1217-minimum-cost-to-move-chips-to-the-same-position
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
124-binary-tree-maximum-path-sum
124-binary-tree-maximum-path-sum
126-word-ladder-ii
126-word-ladder-ii
1260-shift-2d-grid
1260-shift-2d-grid
1261-find-elements-in-a-contaminated-binary-tree
1261-find-elements-in-a-contaminated-binary-tree
1266-minimum-time-visiting-all-points
1266-minimum-time-visiting-all-points
1268-search-suggestions-system
1268-search-suggestions-system
128-longest-consecutive-sequence
128-longest-consecutive-sequence
1281-subtract-the-product-and-sum-of-digits-of-an-integer
1281-subtract-the-product-and-sum-of-digits-of-an-integer
1282-group-the-people-given-the-group-size-they-belong-to
1282-group-the-people-given-the-group-size-they-belong-to
1299-replace-elements-with-greatest-element-on-right-side
1299-replace-elements-with-greatest-element-on-right-side
13-roman-to-integer
13-roman-to-integer
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
1312-minimum-insertion-steps-to-make-a-string-palindrome
1312-minimum-insertion-steps-to-make-a-string-palindrome
1314-matrix-block-sum
1314-matrix-block-sum
1315-sum-of-nodes-with-even-valued-grandparent
1315-sum-of-nodes-with-even-valued-grandparent
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
1329-sort-the-matrix-diagonally
1329-sort-the-matrix-diagonally
133-clone-graph
133-clone-graph
1332-remove-palindromic-subsequences
1332-remove-palindromic-subsequences
1338-reduce-array-size-to-the-half
1338-reduce-array-size-to-the-half
134-gas-station
134-gas-station
1342-number-of-steps-to-reduce-a-number-to-zero
1342-number-of-steps-to-reduce-a-number-to-zero
1346-check-if-n-and-its-double-exist
1346-check-if-n-and-its-double-exist
1347-minimum-number-of-steps-to-make-two-strings-anagram
1347-minimum-number-of-steps-to-make-two-strings-anagram
135-candy
135-candy
1354-construct-target-array-with-multiple-sums
1354-construct-target-array-with-multiple-sums
1370-increasing-decreasing-string
1370-increasing-decreasing-string
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
1382-balance-a-binary-search-tree
1382-balance-a-binary-search-tree
1383-maximum-performance-of-a-team
1383-maximum-performance-of-a-team
1385-find-the-distance-value-between-two-arrays
1385-find-the-distance-value-between-two-arrays
14-longest-common-prefix
14-longest-common-prefix
1403-minimum-subsequence-in-non-increasing-order
1403-minimum-subsequence-in-non-increasing-order
1405-longest-happy-string
1405-longest-happy-string
141-linked-list-cycle
141-linked-list-cycle
142-linked-list-cycle-ii
142-linked-list-cycle-ii
1423-maximum-points-you-can-obtain-from-cards
1423-maximum-points-you-can-obtain-from-cards
143-reorder-list
143-reorder-list
144-binary-tree-preorder-traversal
144-binary-tree-preorder-traversal
View all files
Repository files navigation
README
More
items
Leetcode-Java
About
No description, website, or topics provided.
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.