Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to 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 }}
elixered
/
leetcode
Public
Notifications
You must be signed in to change notification settings
Fork
10
Star
36
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
main
Branches
Tags
Go to file
Code
Open more actions menu
Folders and files
Name
Name
Last commit message
Last commit date
Latest commit
History
4,235 Commits
4,235 Commits
Sorry, we had to truncate this directory to 1,000 files. 7 entries were omitted from the list.
0012-integer-to-roman
0012-integer-to-roman
0036-valid-sudoku
0036-valid-sudoku
0038-count-and-say
0038-count-and-say
0049-group-anagrams
0049-group-anagrams
0076-minimum-window-substring
0076-minimum-window-substring
0079-word-search
0079-word-search
0134-gas-station
0134-gas-station
0151-reverse-words-in-a-string
0151-reverse-words-in-a-string
0219-contains-duplicate-ii
0219-contains-duplicate-ii
0222-count-complete-tree-nodes
0222-count-complete-tree-nodes
0223-rectangle-area
0223-rectangle-area
0224-basic-calculator
0224-basic-calculator
0237-delete-node-in-a-linked-list
0237-delete-node-in-a-linked-list
0263-ugly-number
0263-ugly-number
0273-integer-to-english-words
0273-integer-to-english-words
0279-perfect-squares
0279-perfect-squares
0295-find-median-from-data-stream
0295-find-median-from-data-stream
0345-reverse-vowels-of-a-string
0345-reverse-vowels-of-a-string
0374-guess-number-higher-or-lower
0374-guess-number-higher-or-lower
0452-minimum-number-of-arrows-to-burst-balloons
0452-minimum-number-of-arrows-to-burst-balloons
0500-keyboard-row
0500-keyboard-row
0523-continuous-subarray-sum
0523-continuous-subarray-sum
0587-erect-the-fence
0587-erect-the-fence
0632-smallest-range-covering-elements-from-k-lists
0632-smallest-range-covering-elements-from-k-lists
0645-set-mismatch
0645-set-mismatch
0692-top-k-frequent-words
0692-top-k-frequent-words
0766-toeplitz-matrix
0766-toeplitz-matrix
0835-image-overlap
0835-image-overlap
0880-decoded-string-at-index
0880-decoded-string-at-index
0901-online-stock-span
0901-online-stock-span
0934-shortest-bridge
0934-shortest-bridge
0945-minimum-increment-to-make-array-unique
0945-minimum-increment-to-make-array-unique
0976-largest-perimeter-triangle
0976-largest-perimeter-triangle
10-regular-expression-matching
10-regular-expression-matching
100-same-tree
100-same-tree
1001-grid-illumination
1001-grid-illumination
1003-check-if-word-is-valid-after-substitutions
1003-check-if-word-is-valid-after-substitutions
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
1012-numbers-with-repeated-digits
1012-numbers-with-repeated-digits
1013-partition-array-into-three-parts-with-equal-sum
1013-partition-array-into-three-parts-with-equal-sum
1017-convert-to-base-2
1017-convert-to-base-2
1018-binary-prefix-divisible-by-5
1018-binary-prefix-divisible-by-5
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
1023-camelcase-matching
1023-camelcase-matching
1024-video-stitching
1024-video-stitching
1025-divisor-game
1025-divisor-game
1028-recover-a-tree-from-preorder-traversal
1028-recover-a-tree-from-preorder-traversal
103-binary-tree-zigzag-level-order-traversal
103-binary-tree-zigzag-level-order-traversal
1030-matrix-cells-in-distance-order
1030-matrix-cells-in-distance-order
1033-moving-stones-until-consecutive
1033-moving-stones-until-consecutive
1038-binary-search-tree-to-greater-sum-tree
1038-binary-search-tree-to-greater-sum-tree
104-maximum-depth-of-binary-tree
104-maximum-depth-of-binary-tree
1041-robot-bounded-in-circle
1041-robot-bounded-in-circle
1043-partition-array-for-maximum-sum
1043-partition-array-for-maximum-sum
1044-longest-duplicate-substring
1044-longest-duplicate-substring
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
1055-shortest-way-to-form-string
1055-shortest-way-to-form-string
1057-campus-bikes
1057-campus-bikes
1060-missing-element-in-sorted-array
1060-missing-element-in-sorted-array
1062-longest-repeating-substring
1062-longest-repeating-substring
1066-campus-bikes-ii
1066-campus-bikes-ii
1072-flip-columns-for-maximum-number-of-equal-rows
1072-flip-columns-for-maximum-number-of-equal-rows
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
1087-brace-expansion
1087-brace-expansion
1089-duplicate-zeros
1089-duplicate-zeros
1091-shortest-path-in-binary-matrix
1091-shortest-path-in-binary-matrix
1093-statistics-from-a-large-sample
1093-statistics-from-a-large-sample
1094-car-pooling
1094-car-pooling
1095-find-in-mountain-array
1095-find-in-mountain-array
11-container-with-most-water
11-container-with-most-water
110-balanced-binary-tree
110-balanced-binary-tree
1102-path-with-maximum-minimum-value
1102-path-with-maximum-minimum-value
1105-filling-bookcase-shelves
1105-filling-bookcase-shelves
1109-corporate-flight-bookings
1109-corporate-flight-bookings
111-minimum-depth-of-binary-tree
111-minimum-depth-of-binary-tree
112-path-sum
112-path-sum
1123-lowest-common-ancestor-of-deepest-leaves
1123-lowest-common-ancestor-of-deepest-leaves
1124-longest-well-performing-interval
1124-longest-well-performing-interval
1129-shortest-path-with-alternating-colors
1129-shortest-path-with-alternating-colors
113-path-sum-ii
113-path-sum-ii
1130-minimum-cost-tree-from-leaf-values
1130-minimum-cost-tree-from-leaf-values
1131-maximum-of-absolute-value-expression
1131-maximum-of-absolute-value-expression
1135-connecting-cities-with-minimum-cost
1135-connecting-cities-with-minimum-cost
114-flatten-binary-tree-to-linked-list
114-flatten-binary-tree-to-linked-list
1145-binary-tree-coloring-game
1145-binary-tree-coloring-game
1146-snapshot-array
1146-snapshot-array
1148-article-views-i
1148-article-views-i
115-distinct-subsequences
115-distinct-subsequences
1151-minimum-swaps-to-group-all-1s-together
1151-minimum-swaps-to-group-all-1s-together
1155-number-of-dice-rolls-with-target-sum
1155-number-of-dice-rolls-with-target-sum
1157-online-majority-element-in-subarray
1157-online-majority-element-in-subarray
1161-maximum-level-sum-of-a-binary-tree
1161-maximum-level-sum-of-a-binary-tree
1163-last-substring-in-lexicographical-order
1163-last-substring-in-lexicographical-order
1166-design-file-system
1166-design-file-system
View all files
Repository files navigation
README
More
items
leetcode
Collection of my LeetCode solutions in C++.
About
Collection of LeetCode questions practiced.
leetcode.com/bit_manipulator/
Resources
Readme
Activity
Stars
36
stars
Watchers
1
watching
Forks
10
forks
Report repository
Releases
Packages
Used by
Contributors
Languages
You can’t perform that action at this time.