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 }}
RussellSnelgrove
leet-code
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
leet-code
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
Practice Coding Techniques with Leet Code
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,010 Commits
1,010 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
1013-fibonacci-number
1013-fibonacci-number
104-maximum-depth-of-binary-tree
104-maximum-depth-of-binary-tree
1054-complement-of-base-10-integer
1054-complement-of-base-10-integer
1079-sum-of-root-to-leaf-binary-numbers
1079-sum-of-root-to-leaf-binary-numbers
11-container-with-most-water
11-container-with-most-water
110-balanced-binary-tree
110-balanced-binary-tree
111-minimum-depth-of-binary-tree
111-minimum-depth-of-binary-tree
1114-binary-search-tree-to-greater-sum-tree
1114-binary-search-tree-to-greater-sum-tree
112-path-sum
112-path-sum
113-path-sum-ii
113-path-sum-ii
1153-product-sales-analysis-i
1153-product-sales-analysis-i
1168-duplicate-zeros
1168-duplicate-zeros
118-pascals-triangle
118-pascals-triangle
119-pascals-triangle-ii
119-pascals-triangle-ii
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
1231-replace-elements-with-greatest-element-on-right-side
1231-replace-elements-with-greatest-element-on-right-side
125-valid-palindrome
125-valid-palindrome
1264-maximum-number-of-words-you-can-type
1264-maximum-number-of-words-you-can-type
128-longest-consecutive-sequence
128-longest-consecutive-sequence
1293-three-consecutive-odds
1293-three-consecutive-odds
13-roman-to-integer
13-roman-to-integer
1306-minimum-absolute-difference
1306-minimum-absolute-difference
135-candy
135-candy
136-single-number
136-single-number
137-single-number-ii
137-single-number-ii
138-copy-list-with-random-pointer
138-copy-list-with-random-pointer
1395-minimum-time-visiting-all-points
1395-minimum-time-visiting-all-points
14-longest-common-prefix
14-longest-common-prefix
1407-group-the-people-given-the-group-size-they-belong-to
1407-group-the-people-given-the-group-size-they-belong-to
141-linked-list-cycle
141-linked-list-cycle
1421-find-numbers-with-even-number-of-digits
1421-find-numbers-with-even-number-of-digits
143-reorder-list
143-reorder-list
1434-decrypt-string-from-alphabet-to-integer-mapping
1434-decrypt-string-from-alphabet-to-integer-mapping
144-binary-tree-preorder-traversal
144-binary-tree-preorder-traversal
1448-maximum-69-number
1448-maximum-69-number
145-binary-tree-postorder-traversal
145-binary-tree-postorder-traversal
1460-number-of-substrings-containing-all-three-characters
1460-number-of-substrings-containing-all-three-characters
1477-product-of-the-last-k-numbers
1477-product-of-the-last-k-numbers
1482-how-many-numbers-are-smaller-than-the-current-number
1482-how-many-numbers-are-smaller-than-the-current-number
15-3sum
15-3sum
150-evaluate-reverse-polish-notation
150-evaluate-reverse-polish-notation
151-reverse-words-in-a-string
151-reverse-words-in-a-string
1516-the-k-th-lexicographical-string-of-all-happy-strings-of-length-n
1516-the-k-th-lexicographical-string-of-all-happy-strings-of-length-n
1520-number-of-steps-to-reduce-a-number-in-binary-representation-to-one
1520-number-of-steps-to-reduce-a-number-in-binary-representation-to-one
1528-kids-with-the-greatest-number-of-candies
1528-kids-with-the-greatest-number-of-candies
153-find-minimum-in-rotated-sorted-array
153-find-minimum-in-rotated-sorted-array
1542-consecutive-characters
1542-consecutive-characters
155-min-stack
155-min-stack
1580-shuffle-the-array
1580-shuffle-the-array
16-3sum-closest
16-3sum-closest
160-intersection-of-two-linked-lists
160-intersection-of-two-linked-lists
162-find-peak-element
162-find-peak-element
1635-number-of-good-pairs
1635-number-of-good-pairs
164-maximum-gap
164-maximum-gap
1651-shuffle-string
1651-shuffle-string
1656-count-good-triplets
1656-count-good-triplets
1667-find-kth-bit-in-nth-binary-string
1667-find-kth-bit-in-nth-binary-string
167-two-sum-ii-input-array-is-sorted
167-two-sum-ii-input-array-is-sorted
168-excel-sheet-column-title
168-excel-sheet-column-title
169-majority-element
169-majority-element
17-letter-combinations-of-a-phone-number
17-letter-combinations-of-a-phone-number
1704-special-positions-in-a-binary-matrix
1704-special-positions-in-a-binary-matrix
1708-design-parking-system
1708-design-parking-system
172-factorial-trailing-zeroes
172-factorial-trailing-zeroes
1734-bank-account-summary-ii
1734-bank-account-summary-ii
1755-defuse-the-bomb
1755-defuse-the-bomb
178-rank-scores
178-rank-scores
1781-check-if-two-string-arrays-are-equivalent
1781-check-if-two-string-arrays-are-equivalent
1786-count-the-number-of-consistent-strings
1786-count-the-number-of-consistent-strings
1791-richest-customer-wealth
1791-richest-customer-wealth
1797-goal-parser-interpretation
1797-goal-parser-interpretation
1800-concatenation-of-consecutive-binary-numbers
1800-concatenation-of-consecutive-binary-numbers
1806-count-of-matches-in-tournament
1806-count-of-matches-in-tournament
1807-partitioning-into-minimum-number-of-deci-binary-numbers
1807-partitioning-into-minimum-number-of-deci-binary-numbers
181-employees-earning-more-than-their-managers
181-employees-earning-more-than-their-managers
182-duplicate-emails
182-duplicate-emails
1827-invalid-tweets
1827-invalid-tweets
183-customers-who-never-order
183-customers-who-never-order
1833-find-the-highest-altitude
1833-find-the-highest-altitude
1837-daily-leads-and-partners
1837-daily-leads-and-partners
1878-check-if-array-is-sorted-and-rotated
1878-check-if-array-is-sorted-and-rotated
189-rotate-array
189-rotate-array
19-remove-nth-node-from-end-of-list
19-remove-nth-node-from-end-of-list
1908-recyclable-and-low-fat-products
1908-recyclable-and-low-fat-products
191-number-of-1-bits
191-number-of-1-bits
1910-check-if-binary-string-has-at-most-one-segment-of-ones
1910-check-if-binary-string-has-at-most-one-segment-of-ones
1915-check-if-one-string-swap-can-make-strings-equal
1915-check-if-one-string-swap-can-make-strings-equal
1927-maximum-ascending-subarray-sum
1927-maximum-ascending-subarray-sum
1944-truncate-sentence
1944-truncate-sentence
1970-sorting-the-sentence
1970-sorting-the-sentence
1972-rotating-the-box
1972-rotating-the-box
2-add-two-numbers
2-add-two-numbers
20-valid-parentheses
20-valid-parentheses
2017-minimum-number-of-flips-to-make-the-binary-string-alternating
2017-minimum-number-of-flips-to-make-the-binary-string-alternating
View all files
About
Practice Coding Techniques with Leet Code
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.