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 }}
Void-Anvesha
/
Leetcode
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
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
1,365 Commits
1,365 Commits
1-two-sum
1-two-sum
100-same-tree
100-same-tree
1001-n-repeated-element-in-size-2n-array
1001-n-repeated-element-in-size-2n-array
101-symmetric-tree
101-symmetric-tree
1013-fibonacci-number
1013-fibonacci-number
1019-squares-of-a-sorted-array
1019-squares-of-a-sorted-array
102-binary-tree-level-order-traversal
102-binary-tree-level-order-traversal
1029-vertical-order-traversal-of-a-binary-tree
1029-vertical-order-traversal-of-a-binary-tree
103-binary-tree-zigzag-level-order-traversal
103-binary-tree-zigzag-level-order-traversal
1034-subarrays-with-k-different-integers
1034-subarrays-with-k-different-integers
1036-rotting-oranges
1036-rotting-oranges
1039-find-the-town-judge
1039-find-the-town-judge
104-maximum-depth-of-binary-tree
104-maximum-depth-of-binary-tree
1046-max-consecutive-ones-iii
1046-max-consecutive-ones-iii
105-construct-binary-tree-from-preorder-and-inorder-traversal
105-construct-binary-tree-from-preorder-and-inorder-traversal
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
1056-capacity-to-ship-packages-within-d-days
1056-capacity-to-ship-packages-within-d-days
106-construct-binary-tree-from-inorder-and-postorder-traversal
106-construct-binary-tree-from-inorder-and-postorder-traversal
107-binary-tree-level-order-traversal-ii
107-binary-tree-level-order-traversal-ii
1073-number-of-enclaves
1073-number-of-enclaves
1078-remove-outermost-parentheses
1078-remove-outermost-parentheses
1079-sum-of-root-to-leaf-binary-numbers
1079-sum-of-root-to-leaf-binary-numbers
108-convert-sorted-array-to-binary-search-tree
108-convert-sorted-array-to-binary-search-tree
109-convert-sorted-list-to-binary-search-tree
109-convert-sorted-list-to-binary-search-tree
110-balanced-binary-tree
110-balanced-binary-tree
111-minimum-depth-of-binary-tree
111-minimum-depth-of-binary-tree
1116-maximum-level-sum-of-a-binary-tree
1116-maximum-level-sum-of-a-binary-tree
112-path-sum
112-path-sum
1127-last-stone-weight
1127-last-stone-weight
1128-remove-all-adjacent-duplicates-in-string
1128-remove-all-adjacent-duplicates-in-string
113-path-sum-ii
113-path-sum-ii
114-flatten-binary-tree-to-linked-list
114-flatten-binary-tree-to-linked-list
1153-product-sales-analysis-i
1153-product-sales-analysis-i
1171-shortest-path-in-binary-matrix
1171-shortest-path-in-binary-matrix
118-pascals-triangle
118-pascals-triangle
12-integer-to-roman
12-integer-to-roman
120-triangle
120-triangle
121-best-time-to-buy-and-sell-stock
121-best-time-to-buy-and-sell-stock
124-binary-tree-maximum-path-sum
124-binary-tree-maximum-path-sum
125-valid-palindrome
125-valid-palindrome
1258-article-views-i
1258-article-views-i
126-word-ladder-ii
126-word-ladder-ii
127-word-ladder
127-word-ladder
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
13-roman-to-integer
13-roman-to-integer
130-surrounded-regions
130-surrounded-regions
1306-minimum-absolute-difference
1306-minimum-absolute-difference
131-palindrome-partitioning
131-palindrome-partitioning
1311-largest-magic-square
1311-largest-magic-square
1321-get-equal-substrings-within-budget
1321-get-equal-substrings-within-budget
135-candy
135-candy
136-single-number
136-single-number
137-single-number-ii
137-single-number-ii
1370-count-number-of-nice-subarrays
1370-count-number-of-nice-subarrays
1371-minimum-remove-to-make-valid-parentheses
1371-minimum-remove-to-make-valid-parentheses
1395-minimum-time-visiting-all-points
1395-minimum-time-visiting-all-points
14-longest-common-prefix
14-longest-common-prefix
1408-find-the-smallest-divisor-given-a-threshold
1408-find-the-smallest-divisor-given-a-threshold
141-linked-list-cycle
141-linked-list-cycle
1413-maximum-side-length-of-a-square-with-sum-less-than-or-equal-to-threshold
1413-maximum-side-length-of-a-square-with-sum-less-than-or-equal-to-threshold
1415-students-and-examinations
1415-students-and-examinations
1421-find-numbers-with-even-number-of-digits
1421-find-numbers-with-even-number-of-digits
144-binary-tree-preorder-traversal
144-binary-tree-preorder-traversal
1441-minimum-flips-to-make-a-or-b-equal-to-c
1441-minimum-flips-to-make-a-or-b-equal-to-c
145-binary-tree-postorder-traversal
145-binary-tree-postorder-traversal
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
146-lru-cache
146-lru-cache
1460-number-of-substrings-containing-all-three-characters
1460-number-of-substrings-containing-all-three-characters
1465-maximum-product-of-splitted-binary-tree
1465-maximum-product-of-splitted-binary-tree
1476-count-negative-numbers-in-a-sorted-matrix
1476-count-negative-numbers-in-a-sorted-matrix
150-evaluate-reverse-polish-notation
150-evaluate-reverse-polish-notation
1509-replace-employee-id-with-the-unique-identifier
1509-replace-employee-id-with-the-unique-identifier
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
1527-number-of-ways-to-paint-n-3-grid
1527-number-of-ways-to-paint-n-3-grid
153-find-minimum-in-rotated-sorted-array
153-find-minimum-in-rotated-sorted-array
1538-maximum-points-you-can-obtain-from-cards
1538-maximum-points-you-can-obtain-from-cards
155-min-stack
155-min-stack
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
1569-max-dot-product-of-two-subsequences
1569-max-dot-product-of-two-subsequences
1586-longest-subarray-of-1s-after-deleting-one-element
1586-longest-subarray-of-1s-after-deleting-one-element
160-intersection-of-two-linked-lists
160-intersection-of-two-linked-lists
1605-minimum-number-of-days-to-make-m-bouquets
1605-minimum-number-of-days-to-make-m-bouquets
162-find-peak-element
162-find-peak-element
1630-count-odd-numbers-in-an-interval-range
1630-count-odd-numbers-in-an-interval-range
1646-kth-missing-positive-number
1646-kth-missing-positive-number
1658-minimum-swaps-to-arrange-a-binary-grid
1658-minimum-swaps-to-arrange-a-binary-grid
1663-detect-cycles-in-2d-grid
1663-detect-cycles-in-2d-grid
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
171-excel-sheet-column-number
171-excel-sheet-column-number
View all files
Repository files navigation
README
More
items
Leetcode
About
No description, website, or topics provided.
Resources
Readme
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.