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
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
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 }}
OmnitriX-7
/
LeetCode
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
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
Latest commit
History
1,132 Commits
1,132 Commits
Folders and files
Name
Name
Last commit message
Last commit date
10-regular-expression-matching
10-regular-expression-matching
1009-pancake-sorting
1009-pancake-sorting
1013-fibonacci-number
1013-fibonacci-number
1016-subarray-sums-divisible-by-k
1016-subarray-sums-divisible-by-k
1019-squares-of-a-sorted-array
1019-squares-of-a-sorted-array
1026-string-without-aaa-or-bbb
1026-string-without-aaa-or-bbb
1027-sum-of-even-numbers-after-queries
1027-sum-of-even-numbers-after-queries
1036-rotting-oranges
1036-rotting-oranges
1037-minimum-number-of-k-consecutive-bit-flips
1037-minimum-number-of-k-consecutive-bit-flips
1039-find-the-town-judge
1039-find-the-town-judge
1042-minimum-cost-to-merge-stones
1042-minimum-cost-to-merge-stones
1046-max-consecutive-ones-iii
1046-max-consecutive-ones-iii
1050-construct-binary-search-tree-from-preorder-traversal
1050-construct-binary-search-tree-from-preorder-traversal
1054-complement-of-base-10-integer
1054-complement-of-base-10-integer
1064-smallest-integer-divisible-by-k
1064-smallest-integer-divisible-by-k
1079-sum-of-root-to-leaf-binary-numbers
1079-sum-of-root-to-leaf-binary-numbers
1095-two-city-scheduling
1095-two-city-scheduling
11-container-with-most-water
11-container-with-most-water
110-balanced-binary-tree
110-balanced-binary-tree
1114-binary-search-tree-to-greater-sum-tree
1114-binary-search-tree-to-greater-sum-tree
1116-maximum-level-sum-of-a-binary-tree
1116-maximum-level-sum-of-a-binary-tree
1117-as-far-from-land-as-possible
1117-as-far-from-land-as-possible
1146-greatest-common-divisor-of-strings
1146-greatest-common-divisor-of-strings
1159-smallest-subsequence-of-distinct-characters
1159-smallest-subsequence-of-distinct-characters
1179-game-play-analysis-i
1179-game-play-analysis-i
118-pascals-triangle
118-pascals-triangle
120-triangle
120-triangle
121-best-time-to-buy-and-sell-stock
121-best-time-to-buy-and-sell-stock
1212-sequential-digits
1212-sequential-digits
1218-lowest-common-ancestor-of-deepest-leaves
1218-lowest-common-ancestor-of-deepest-leaves
122-best-time-to-buy-and-sell-stock-ii
122-best-time-to-buy-and-sell-stock-ii
1229-shortest-path-with-alternating-colors
1229-shortest-path-with-alternating-colors
1236-n-th-tribonacci-number
1236-n-th-tribonacci-number
125-valid-palindrome
125-valid-palindrome
1253-sort-the-matrix-diagonally
1253-sort-the-matrix-diagonally
1256-rank-transform-of-an-array
1256-rank-transform-of-an-array
128-longest-consecutive-sequence
128-longest-consecutive-sequence
1284-four-divisors
1284-four-divisors
1285-balance-a-binary-search-tree
1285-balance-a-binary-search-tree
129-sum-root-to-leaf-numbers
129-sum-root-to-leaf-numbers
1297-maximum-number-of-balloons
1297-maximum-number-of-balloons
13-roman-to-integer
13-roman-to-integer
130-surrounded-regions
130-surrounded-regions
1309-sort-items-by-groups-respecting-dependencies
1309-sort-items-by-groups-respecting-dependencies
1319-unique-number-of-occurrences
1319-unique-number-of-occurrences
1325-path-with-maximum-probability
1325-path-with-maximum-probability
134-gas-station
134-gas-station
1341-split-a-string-in-balanced-strings
1341-split-a-string-in-balanced-strings
1349-check-if-it-is-a-straight-line
1349-check-if-it-is-a-straight-line
135-candy
135-candy
1354-find-players-with-zero-or-one-losses
1354-find-players-with-zero-or-one-losses
1359-circular-permutation-in-binary-representation
1359-circular-permutation-in-binary-representation
1364-tuple-with-same-product
1364-tuple-with-same-product
1370-count-number-of-nice-subarrays
1370-count-number-of-nice-subarrays
1380-number-of-closed-islands
1380-number-of-closed-islands
139-word-break
139-word-break
1392-find-the-difference-of-two-arrays
1392-find-the-difference-of-two-arrays
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
142-linked-list-cycle-ii
142-linked-list-cycle-ii
1422-divide-array-in-sets-of-k-consecutive-numbers
1422-divide-array-in-sets-of-k-consecutive-numbers
1428-jump-game-iii
1428-jump-game-iii
1435-xor-queries-of-a-subarray
1435-xor-queries-of-a-subarray
1440-convert-integer-to-the-sum-of-two-no-zero-integers
1440-convert-integer-to-the-sum-of-two-no-zero-integers
1446-angle-between-hands-of-a-clock
1446-angle-between-hands-of-a-clock
1456-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance
1456-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance
1458-sort-integers-by-the-number-of-1-bits
1458-sort-integers-by-the-number-of-1-bits
1460-number-of-substrings-containing-all-three-characters
1460-number-of-substrings-containing-all-three-characters
1464-reduce-array-size-to-the-half
1464-reduce-array-size-to-the-half
1466-jump-game-v
1466-jump-game-v
1469-minimum-number-of-steps-to-make-two-strings-anagram
1469-minimum-number-of-steps-to-make-two-strings-anagram
147-insertion-sort-list
147-insertion-sort-list
1476-count-negative-numbers-in-a-sorted-matrix
1476-count-negative-numbers-in-a-sorted-matrix
1477-product-of-the-last-k-numbers
1477-product-of-the-last-k-numbers
148-sort-list
148-sort-list
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
1487-cinema-seat-allocation
1487-cinema-seat-allocation
15-3sum
15-3sum
1507-check-if-there-is-a-valid-path-in-a-grid
1507-check-if-there-is-a-valid-path-in-a-grid
151-reverse-words-in-a-string
151-reverse-words-in-a-string
1510-find-lucky-integer-in-an-array
1510-find-lucky-integer-in-an-array
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
154-find-minimum-in-rotated-sorted-array-ii
154-find-minimum-in-rotated-sorted-array-ii
1543-simplified-fractions
1543-simplified-fractions
1548-check-if-all-1s-are-at-least-length-k-places-away
1548-check-if-all-1s-are-at-least-length-k-places-away
1553-count-triplets-that-can-form-two-arrays-of-equal-xor
1553-count-triplets-that-can-form-two-arrays-of-equal-xor
1556-make-two-arrays-equal-by-reversing-subarrays
1556-make-two-arrays-equal-by-reversing-subarrays
1557-check-if-a-string-contains-all-binary-codes-of-size-k
1557-check-if-a-string-contains-all-binary-codes-of-size-k
1567-maximum-number-of-vowels-in-a-substring-of-given-length
1567-maximum-number-of-vowels-in-a-substring-of-given-length
1580-shuffle-the-array
1580-shuffle-the-array
1585-the-kth-factor-of-n
1585-the-kth-factor-of-n
1586-longest-subarray-of-1s-after-deleting-one-element
1586-longest-subarray-of-1s-after-deleting-one-element
1603-running-sum-of-1d-array
1603-running-sum-of-1d-array
1604-least-number-of-unique-integers-after-k-removals
1604-least-number-of-unique-integers-after-k-removals
1605-minimum-number-of-days-to-make-m-bouquets
1605-minimum-number-of-days-to-make-m-bouquets
1616-minimum-difference-between-largest-and-smallest-value-in-three-moves
1616-minimum-difference-between-largest-and-smallest-value-in-three-moves
162-find-peak-element
162-find-peak-element
View all files
Repository files navigation
README
More
items
LeetCode
LeetCode progress tracker
About
LeetCode progress tracker
Topics
leetcode-cpp
leetcode-solutions
Resources
Readme
Activity
Stars
1
star
Watchers
0
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.