Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
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 }}
Mahendrakoppula
Leet-code-problems
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Leet-code-problems
Public
Notifications
You must be signed in to change notification settings
Fork
1
(
1
)
Star
2
(
2
)
You must be signed in to star a repository
About
Leet code problems
Topics
algorithm-challenges
algorithms
algorithms-and-data-structures
data-structures
dsa
java
leetcode-challenges
leetcode-java
leetcode-questions
leetcode-solutions
Resources
Readme
Activity
Stars
2
stars
Watchers
1
watching
Forks
1
fork
Report repository
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
627 Commits
627 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
0003-longest-substring-without-repeating-characters
0003-longest-substring-without-repeating-characters
0004-median-of-two-sorted-arrays
0004-median-of-two-sorted-arrays
0007-reverse-integer
0007-reverse-integer
0011-container-with-most-water
0011-container-with-most-water
0015-3sum
0015-3sum
0020-valid-parentheses
0020-valid-parentheses
0021-merge-two-sorted-lists
0021-merge-two-sorted-lists
0028-find-the-index-of-the-first-occurrence-in-a-string
0028-find-the-index-of-the-first-occurrence-in-a-string
0031-next-permutation
0031-next-permutation
0033-search-in-rotated-sorted-array
0033-search-in-rotated-sorted-array
0034-find-first-and-last-position-of-element-in-sorted-array
0034-find-first-and-last-position-of-element-in-sorted-array
0035-search-insert-position
0035-search-insert-position
0036-valid-sudoku
0036-valid-sudoku
0041-first-missing-positive
0041-first-missing-positive
0053-maximum-subarray
0053-maximum-subarray
0054-spiral-matrix
0054-spiral-matrix
0059-spiral-matrix-ii
0059-spiral-matrix-ii
0074-search-a-2d-matrix
0074-search-a-2d-matrix
0080-remove-duplicates-from-sorted-array-ii
0080-remove-duplicates-from-sorted-array-ii
0083-remove-duplicates-from-sorted-list
0083-remove-duplicates-from-sorted-list
0088-merge-sorted-array
0088-merge-sorted-array
0094-binary-tree-inorder-traversal
0094-binary-tree-inorder-traversal
0101-symmetric-tree
0101-symmetric-tree
0102-binary-tree-level-order-traversal
0102-binary-tree-level-order-traversal
0104-maximum-depth-of-binary-tree
0104-maximum-depth-of-binary-tree
0112-path-sum
0112-path-sum
0118-pascals-triangle
0118-pascals-triangle
0121-best-time-to-buy-and-sell-stock
0121-best-time-to-buy-and-sell-stock
0136-single-number
0136-single-number
0141-linked-list-cycle
0141-linked-list-cycle
0142-linked-list-cycle-ii
0142-linked-list-cycle-ii
0144-binary-tree-preorder-traversal
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0145-binary-tree-postorder-traversal
0148-sort-list
0148-sort-list
0160-intersection-of-two-linked-lists
0160-intersection-of-two-linked-lists
0162-find-peak-element
0162-find-peak-element
0169-majority-element
0169-majority-element
0202-happy-number
0202-happy-number
0203-remove-linked-list-elements
0203-remove-linked-list-elements
0205-isomorphic-strings
0205-isomorphic-strings
0206-reverse-linked-list
0206-reverse-linked-list
0217-contains-duplicate
0217-contains-duplicate
0226-invert-binary-tree
0226-invert-binary-tree
0228-summary-ranges
0228-summary-ranges
0232-implement-queue-using-stacks
0232-implement-queue-using-stacks
0234-palindrome-linked-list
0234-palindrome-linked-list
0242-valid-anagram
0242-valid-anagram
0278-first-bad-version
0278-first-bad-version
0283-move-zeroes
0283-move-zeroes
0287-find-the-duplicate-number
0287-find-the-duplicate-number
0290-word-pattern
0290-word-pattern
0319-bulb-switcher
0319-bulb-switcher
0349-intersection-of-two-arrays
0349-intersection-of-two-arrays
0350-intersection-of-two-arrays-ii
0350-intersection-of-two-arrays-ii
0367-valid-perfect-square
0367-valid-perfect-square
0374-guess-number-higher-or-lower
0374-guess-number-higher-or-lower
0382-linked-list-random-node
0382-linked-list-random-node
0383-ransom-note
0383-ransom-note
0387-first-unique-character-in-a-string
0387-first-unique-character-in-a-string
0415-add-strings
0415-add-strings
0443-string-compression
0443-string-compression
0445-add-two-numbers-ii
0445-add-two-numbers-ii
0540-single-element-in-a-sorted-array
0540-single-element-in-a-sorted-array
0566-reshape-the-matrix
0566-reshape-the-matrix
0605-can-place-flowers
0605-can-place-flowers
0649-dota2-senate
0649-dota2-senate
0658-find-k-closest-elements
0658-find-k-closest-elements
0662-maximum-width-of-binary-tree
0662-maximum-width-of-binary-tree
0700-search-in-a-binary-search-tree
0700-search-in-a-binary-search-tree
0701-insert-into-a-binary-search-tree
0701-insert-into-a-binary-search-tree
0704-binary-search
0704-binary-search
0875-koko-eating-bananas
0875-koko-eating-bananas
0881-boats-to-save-people
0881-boats-to-save-people
0912-sort-an-array
0912-sort-an-array
0925-long-pressed-name
0925-long-pressed-name
0946-validate-stack-sequences
0946-validate-stack-sequences
0max-consecutive-ones
0max-consecutive-ones
1011-capacity-to-ship-packages-within-d-days
1011-capacity-to-ship-packages-within-d-days
1351-count-negative-numbers-in-a-sorted-matrix
1351-count-negative-numbers-in-a-sorted-matrix
1431-kids-with-the-greatest-number-of-candies
1431-kids-with-the-greatest-number-of-candies
1456-maximum-number-of-vowels-in-a-substring-of-given-length
1456-maximum-number-of-vowels-in-a-substring-of-given-length
1491-average-salary-excluding-the-minimum-and-maximum-salary
1491-average-salary-excluding-the-minimum-and-maximum-salary
1539-kth-missing-positive-number
1539-kth-missing-positive-number
1672-richest-customer-wealth
1672-richest-customer-wealth
1688-count-of-matches-in-tournament
1688-count-of-matches-in-tournament
1768-merge-strings-alternately
1768-merge-strings-alternately
1822-sign-of-the-product-of-an-array
1822-sign-of-the-product-of-an-array
1897-redistribute-characters-to-make-all-strings-equal
1897-redistribute-characters-to-make-all-strings-equal
2016-maximum-difference-between-increasing-elements
2016-maximum-difference-between-increasing-elements
2024-maximize-the-confusion-of-an-exam
2024-maximize-the-confusion-of-an-exam
2215-find-the-difference-of-two-arrays
2215-find-the-difference-of-two-arrays
2239-find-closest-number-to-zero
2239-find-closest-number-to-zero
2273-find-resultant-array-after-removing-anagrams
2273-find-resultant-array-after-removing-anagrams
2306-naming-a-company
2306-naming-a-company
2336-smallest-number-in-infinite-set
2336-smallest-number-in-infinite-set
2352-equal-row-and-column-pairs
2352-equal-row-and-column-pairs
2390-removing-stars-from-a-string
2390-removing-stars-from-a-string
2405-optimal-partition-of-string
2405-optimal-partition-of-string
View all files
Repository files navigation
README
More
items
Leet-code-problems
About
Leet code problems
Topics
algorithm-challenges
algorithms
algorithms-and-data-structures
data-structures
dsa
java
leetcode-challenges
leetcode-java
leetcode-questions
leetcode-solutions
Resources
Readme
Activity
Stars
2
stars
Watchers
1
watching
Forks
1
fork
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.