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 }}
Avani-2003
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
Problem of The Day LeetCode
Topics
potd-leetcode
potd-practice
Resources
Readme
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
359 Commits
359 Commits
Folders and files
Name
Name
Last commit message
Last commit date
0001-two-sum
0001-two-sum
0002-add-two-numbers
0002-add-two-numbers
0058-length-of-last-word
0058-length-of-last-word
1137-height-checker
1137-height-checker
1161-project-employees-i
1161-project-employees-i
1179-game-play-analysis-i
1179-game-play-analysis-i
121-best-time-to-buy-and-sell-stock
121-best-time-to-buy-and-sell-stock
1217-relative-sort-array
1217-relative-sort-array
1224-minimum-falling-path-sum-ii
1224-minimum-falling-path-sum-ii
1236-n-th-tribonacci-number
1236-n-th-tribonacci-number
1245-user-activity-for-the-past-30-days-i
1245-user-activity-for-the-past-30-days-i
1258-article-views-i
1258-article-views-i
129-sum-root-to-leaf-numbers
129-sum-root-to-leaf-numbers
1317-monthly-transactions-i
1317-monthly-transactions-i
1331-path-with-maximum-gold
1331-path-with-maximum-gold
1338-queries-quality-and-percentage
1338-queries-quality-and-percentage
136-single-number
136-single-number
1371-minimum-remove-to-make-valid-parentheses
1371-minimum-remove-to-make-valid-parentheses
1381-maximum-score-words-formed-by-letters
1381-maximum-score-words-formed-by-letters
1390-average-selling-price
1390-average-selling-price
14-longest-common-prefix
14-longest-common-prefix
141-linked-list-cycle
141-linked-list-cycle
1415-students-and-examinations
1415-students-and-examinations
142-linked-list-cycle-ii
142-linked-list-cycle-ii
1450-delete-leaves-with-a-given-value
1450-delete-leaves-with-a-given-value
1462-list-the-products-ordered-in-a-period
1462-list-the-products-ordered-in-a-period
148-sort-list
148-sort-list
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
1556-make-two-arrays-equal-by-reversing-subarrays
1556-make-two-arrays-equal-by-reversing-subarrays
160-intersection-of-two-linked-lists
160-intersection-of-two-linked-lists
1664-find-users-with-valid-e-mails
1664-find-users-with-valid-e-mails
1670-patients-with-a-condition
1670-patients-with-a-condition
169-majority-element
169-majority-element
1724-customer-who-visited-but-did-not-make-any-transactions
1724-customer-who-visited-but-did-not-make-any-transactions
1737-maximum-nesting-depth-of-the-parentheses
1737-maximum-nesting-depth-of-the-parentheses
175-combine-two-tables
175-combine-two-tables
176-second-highest-salary
176-second-highest-salary
177-nth-highest-salary
177-nth-highest-salary
1773-percentage-of-users-attended-a-contest
1773-percentage-of-users-attended-a-contest
1801-average-time-of-process-per-machine
1801-average-time-of-process-per-machine
1802-number-of-students-unable-to-eat-lunch
1802-number-of-students-unable-to-eat-lunch
181-employees-earning-more-than-their-managers
181-employees-earning-more-than-their-managers
1811-fix-names-in-a-table
1811-fix-names-in-a-table
1827-invalid-tweets
1827-invalid-tweets
1877-find-followers-count
1877-find-followers-count
1882-the-number-of-employees-which-report-to-each-employee
1882-the-number-of-employees-which-report-to-each-employee
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
1942-primary-department-for-each-employee
1942-primary-department-for-each-employee
196-delete-duplicate-emails
196-delete-duplicate-emails
1966-frequency-of-the-most-frequent-element
1966-frequency-of-the-most-frequent-element
197-rising-temperature
197-rising-temperature
1993-sum-of-all-subset-xor-totals
1993-sum-of-all-subset-xor-totals
2-add-two-numbers
2-add-two-numbers
200-number-of-islands
200-number-of-islands
203-remove-linked-list-elements
203-remove-linked-list-elements
2044-number-of-wonderful-substrings
2044-number-of-wonderful-substrings
205-isomorphic-strings
205-isomorphic-strings
206-reverse-linked-list
206-reverse-linked-list
21-merge-two-sorted-lists
21-merge-two-sorted-lists
2103-find-all-groups-of-farmland
2103-find-all-groups-of-farmland
2121-find-if-path-exists-in-graph
2121-find-if-path-exists-in-graph
2127-employees-whose-manager-left-the-company
2127-employees-whose-manager-left-the-company
2128-reverse-prefix-of-word
2128-reverse-prefix-of-word
2195-time-needed-to-buy-tickets
2195-time-needed-to-buy-tickets
2216-delete-the-middle-node-of-a-linked-list
2216-delete-the-middle-node-of-a-linked-list
2255-minimum-swaps-to-group-all-1s-together-ii
2255-minimum-swaps-to-group-all-1s-together-ii
234-palindrome-linked-list
234-palindrome-linked-list
237-delete-node-in-a-linked-list
237-delete-node-in-a-linked-list
24-swap-nodes-in-pairs
24-swap-nodes-in-pairs
2416-evaluate-boolean-binary-tree
2416-evaluate-boolean-binary-tree
2444-longest-ideal-subsequence
2444-longest-ideal-subsequence
2495-number-of-unique-subjects-taught-by-each-teacher
2495-number-of-unique-subjects-taught-by-each-teacher
25-reverse-nodes-in-k-group
25-reverse-nodes-in-k-group
2524-largest-positive-integer-that-exists-with-its-negative
2524-largest-positive-integer-that-exists-with-its-negative
2552-maximum-sum-of-distinct-subarrays-with-length-k
2552-maximum-sum-of-distinct-subarrays-with-length-k
2572-append-characters-to-string-to-make-subsequence
2572-append-characters-to-string-to-make-subsequence
2573-remove-nodes-from-linked-list
2573-remove-nodes-from-linked-list
26-remove-duplicates-from-sorted-array
26-remove-duplicates-from-sorted-array
260-single-number-iii
260-single-number-iii
268-missing-number
268-missing-number
27-remove-element
27-remove-element
273-integer-to-english-words
273-integer-to-english-words
278-first-bad-version
278-first-bad-version
287-find-the-duplicate-number
287-find-the-duplicate-number
2871-double-a-number-represented-as-a-linked-list
2871-double-a-number-represented-as-a-linked-list
2914-find-the-safest-path-in-a-grid
2914-find-the-safest-path-in-a-grid
3249-minimum-number-of-operations-to-make-array-xor-equal-to-k
3249-minimum-number-of-operations-to-make-array-xor-equal-to-k
3276-minimum-number-of-pushes-to-type-word-ii
3276-minimum-number-of-pushes-to-type-word-ii
328-odd-even-linked-list
328-odd-even-linked-list
3307-find-the-maximum-sum-of-node-values
3307-find-the-maximum-sum-of-node-values
3379-score-of-a-string
3379-score-of-a-string
344-reverse-string
344-reverse-string
3468-find-the-encrypted-string
3468-find-the-encrypted-string
383-ransom-note
383-ransom-note
402-remove-k-digits
402-remove-k-digits
404-sum-of-left-leaves
404-sum-of-left-leaves
409-longest-palindrome
409-longest-palindrome
42-trapping-rain-water
42-trapping-rain-water
View all files
Repository files navigation
README
More
items
Leet-Code
Top Coding Interview Problems
About
Problem of The Day LeetCode
Topics
potd-leetcode
potd-practice
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.