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 }}
theByteCoder
LeetCode
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
LeetCode
Public
forked from
tanyarajhans/LeetCode
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
Collection of LeetCode questions to ace the coding interview!
Resources
Readme
Activity
Stars
0
stars
Watchers
0
watching
Forks
0
forks
Report repository
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
1,472 Commits
1,472 Commits
Folders and files
Name
Name
Last commit message
Last commit date
01-matrix
01-matrix
1007-minimum-domino-rotations-for-equal-row
1007-minimum-domino-rotations-for-equal-row
1029-two-city-scheduling
1029-two-city-scheduling
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
11-container-with-most-water
11-container-with-most-water
1146-snapshot-array
1146-snapshot-array
1170-compare-strings-by-frequency-of-the-smallest-character
1170-compare-strings-by-frequency-of-the-smallest-character
1171-remove-zero-sum-consecutive-nodes-from-linked-list
1171-remove-zero-sum-consecutive-nodes-from-linked-list
1172-dinner-plate-stacks
1172-dinner-plate-stacks
1203-sort-items-by-groups-respecting-dependencies
1203-sort-items-by-groups-respecting-dependencies
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
1219-path-with-maximum-gold
1219-path-with-maximum-gold
1239-maximum-length-of-a-concatenated-string-with-unique-characters
1239-maximum-length-of-a-concatenated-string-with-unique-characters
1249-minimum-remove-to-make-valid-parentheses
1249-minimum-remove-to-make-valid-parentheses
1260-shift-2d-grid
1260-shift-2d-grid
1268-search-suggestions-system
1268-search-suggestions-system
127-word-ladder
127-word-ladder
1288-remove-covered-intervals
1288-remove-covered-intervals
1291-sequential-digits
1291-sequential-digits
1297-maximum-number-of-occurrences-of-a-substring
1297-maximum-number-of-occurrences-of-a-substring
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
132-pattern
132-pattern
1326-minimum-number-of-taps-to-open-to-water-a-garden
1326-minimum-number-of-taps-to-open-to-water-a-garden
133-clone-graph
133-clone-graph
1332-remove-palindromic-subsequences
1332-remove-palindromic-subsequences
1337-the-k-weakest-rows-in-a-matrix
1337-the-k-weakest-rows-in-a-matrix
1342-number-of-steps-to-reduce-a-number-to-zero
1342-number-of-steps-to-reduce-a-number-to-zero
1354-construct-target-array-with-multiple-sums
1354-construct-target-array-with-multiple-sums
1359-count-all-valid-pickup-and-delivery-options
1359-count-all-valid-pickup-and-delivery-options
136-single-number
136-single-number
1367-linked-list-in-binary-tree
1367-linked-list-in-binary-tree
1371-find-the-longest-substring-containing-vowels-in-even-counts
1371-find-the-longest-substring-containing-vowels-in-even-counts
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
139-word-break
139-word-break
1396-design-underground-system
1396-design-underground-system
141-linked-list-cycle
141-linked-list-cycle
1434-number-of-ways-to-wear-different-hats-to-each-other
1434-number-of-ways-to-wear-different-hats-to-each-other
1438-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit
1438-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit
1461-check-if-a-string-contains-all-binary-codes-of-size-k
1461-check-if-a-string-contains-all-binary-codes-of-size-k
148-sort-list
148-sort-list
1480-running-sum-of-1d-array
1480-running-sum-of-1d-array
1579-remove-max-number-of-edges-to-keep-graph-fully-traversable
1579-remove-max-number-of-edges-to-keep-graph-fully-traversable
1584-min-cost-to-connect-all-points
1584-min-cost-to-connect-all-points
160-intersection-of-two-linked-lists
160-intersection-of-two-linked-lists
1627-graph-connectivity-with-threshold
1627-graph-connectivity-with-threshold
1631-path-with-minimum-effort
1631-path-with-minimum-effort
1632-rank-transform-of-a-matrix
1632-rank-transform-of-a-matrix
1641-count-sorted-vowel-strings
1641-count-sorted-vowel-strings
1642-furthest-building-you-can-reach
1642-furthest-building-you-can-reach
165-compare-version-numbers
165-compare-version-numbers
167-two-sum-ii-input-array-is-sorted
167-two-sum-ii-input-array-is-sorted
1672-richest-customer-wealth
1672-richest-customer-wealth
1675-minimize-deviation-in-array
1675-minimize-deviation-in-array
1679-max-number-of-k-sum-pairs
1679-max-number-of-k-sum-pairs
169-majority-element
169-majority-element
171-excel-sheet-column-number
171-excel-sheet-column-number
1721-swapping-nodes-in-a-linked-list
1721-swapping-nodes-in-a-linked-list
191-number-of-1-bits
191-number-of-1-bits
1937-maximum-number-of-points-with-cost
1937-maximum-number-of-points-with-cost
2-add-two-numbers
2-add-two-numbers
2-keys-keyboard
2-keys-keyboard
20-valid-parentheses
20-valid-parentheses
209-minimum-size-subarray-sum
209-minimum-size-subarray-sum
21-merge-two-sorted-lists
21-merge-two-sorted-lists
211-design-add-and-search-words-data-structure
211-design-add-and-search-words-data-structure
2120-execution-of-all-suffix-instructions-staying-in-a-grid
2120-execution-of-all-suffix-instructions-staying-in-a-grid
215-kth-largest-element-in-an-array
215-kth-largest-element-in-an-array
216-combination-sum-iii
216-combination-sum-iii
2171-removing-minimum-number-of-magic-beans
2171-removing-minimum-number-of-magic-beans
2179-count-good-triplets-in-an-array
2179-count-good-triplets-in-an-array
225-implement-stack-using-queues
225-implement-stack-using-queues
2267-check-if-there-is-a-valid-parentheses-string-path
2267-check-if-there-is-a-valid-parentheses-string-path
228-summary-ranges
228-summary-ranges
23-merge-k-sorted-lists
23-merge-k-sorted-lists
230-kth-smallest-element-in-a-bst
230-kth-smallest-element-in-a-bst
24-swap-nodes-in-pairs
24-swap-nodes-in-pairs
258-add-digits
258-add-digits
268-missing-number
268-missing-number
287-find-the-duplicate-number
287-find-the-duplicate-number
29-divide-two-integers
29-divide-two-integers
304-range-sum-query-2d-immutable
304-range-sum-query-2d-immutable
31-next-permutation
31-next-permutation
316-remove-duplicate-letters
316-remove-duplicate-letters
318-maximum-product-of-word-lengths
318-maximum-product-of-word-lengths
32-longest-valid-parentheses
32-longest-valid-parentheses
322-coin-change
322-coin-change
338-counting-bits
338-counting-bits
344-reverse-string
344-reverse-string
347-top-k-frequent-elements
347-top-k-frequent-elements
354-russian-doll-envelopes
354-russian-doll-envelopes
355-design-twitter
355-design-twitter
389-find-the-difference
389-find-the-difference
39-combination-sum
39-combination-sum
392-is-subsequence
392-is-subsequence
View all files
Repository files navigation
README
More
items
LeetCode
Collection of LeetCode questions to ace the coding interview!
About
Collection of LeetCode questions to ace the coding interview!
Resources
Readme
Activity
Stars
0
stars
Watchers
0
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.