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
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 }}
DivyaMaddipudi
/
leet-code
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
Latest commit
History
1,092 Commits
1,092 Commits
Folders and files
Name
Name
Last commit message
Last commit date
.idea
.idea
1-two-sum
1-two-sum
100-same-tree
100-same-tree
101-symmetric-tree
101-symmetric-tree
1010-pairs-of-songs-with-total-durations-divisible-by-60
1010-pairs-of-songs-with-total-durations-divisible-by-60
1011-capacity-to-ship-packages-within-d-days
1011-capacity-to-ship-packages-within-d-days
102-binary-tree-level-order-traversal
102-binary-tree-level-order-traversal
103-binary-tree-zigzag-level-order-traversal
103-binary-tree-zigzag-level-order-traversal
104-maximum-depth-of-binary-tree
104-maximum-depth-of-binary-tree
1046-last-stone-weight
1046-last-stone-weight
105-construct-binary-tree-from-preorder-and-inorder-traversal
105-construct-binary-tree-from-preorder-and-inorder-traversal
106-construct-binary-tree-from-inorder-and-postorder-traversal
106-construct-binary-tree-from-inorder-and-postorder-traversal
1079-letter-tile-possibilities
1079-letter-tile-possibilities
1095-find-in-mountain-array
1095-find-in-mountain-array
11-container-with-most-water
11-container-with-most-water
110-balanced-binary-tree
110-balanced-binary-tree
1108-defanging-an-ip-address
1108-defanging-an-ip-address
111-minimum-depth-of-binary-tree
111-minimum-depth-of-binary-tree
112-path-sum
112-path-sum
113-path-sum-ii
113-path-sum-ii
1137-n-th-tribonacci-number
1137-n-th-tribonacci-number
114-flatten-binary-tree-to-linked-list
114-flatten-binary-tree-to-linked-list
116-populating-next-right-pointers-in-each-node
116-populating-next-right-pointers-in-each-node
118-pascals-triangle
118-pascals-triangle
119-pascals-triangle-ii
119-pascals-triangle-ii
12-integer-to-roman
12-integer-to-roman
121-best-time-to-buy-and-sell-stock
121-best-time-to-buy-and-sell-stock
122-best-time-to-buy-and-sell-stock-ii
122-best-time-to-buy-and-sell-stock-ii
125-valid-palindrome
125-valid-palindrome
129-sum-root-to-leaf-numbers
129-sum-root-to-leaf-numbers
13-roman-to-integer
13-roman-to-integer
131-palindrome-partitioning
131-palindrome-partitioning
1323-maximum-69-number
1323-maximum-69-number
1332-remove-palindromic-subsequences
1332-remove-palindromic-subsequences
1342-number-of-steps-to-reduce-a-number-to-zero
1342-number-of-steps-to-reduce-a-number-to-zero
1365-how-many-numbers-are-smaller-than-the-current-number
1365-how-many-numbers-are-smaller-than-the-current-number
142-linked-list-cycle-ii
142-linked-list-cycle-ii
144-binary-tree-preorder-traversal
144-binary-tree-preorder-traversal
1443-minimum-time-to-collect-all-apples-in-a-tree
1443-minimum-time-to-collect-all-apples-in-a-tree
145-binary-tree-postorder-traversal
145-binary-tree-postorder-traversal
146-lru-cache
146-lru-cache
1465-maximum-area-of-a-piece-of-cake-after-horizontal-and-vertical-cuts
1465-maximum-area-of-a-piece-of-cake-after-horizontal-and-vertical-cuts
1480-running-sum-of-1d-array
1480-running-sum-of-1d-array
15-3sum
15-3sum
151-reverse-words-in-a-string
151-reverse-words-in-a-string
152-maximum-product-subarray
152-maximum-product-subarray
153-find-minimum-in-rotated-sorted-array
153-find-minimum-in-rotated-sorted-array
1539-kth-missing-positive-number
1539-kth-missing-positive-number
154-find-minimum-in-rotated-sorted-array-ii
154-find-minimum-in-rotated-sorted-array-ii
155-min-stack
155-min-stack
1557-minimum-number-of-vertices-to-reach-all-nodes
1557-minimum-number-of-vertices-to-reach-all-nodes
160-intersection-of-two-linked-lists
160-intersection-of-two-linked-lists
162-find-peak-element
162-find-peak-element
1658-minimum-operations-to-reduce-x-to-zero
1658-minimum-operations-to-reduce-x-to-zero
1662-check-if-two-string-arrays-are-equivalent
1662-check-if-two-string-arrays-are-equivalent
167-two-sum-ii-input-array-is-sorted
167-two-sum-ii-input-array-is-sorted
169-majority-element
169-majority-element
17-letter-combinations-of-a-phone-number
17-letter-combinations-of-a-phone-number
1700-number-of-students-unable-to-eat-lunch
1700-number-of-students-unable-to-eat-lunch
1710-maximum-units-on-a-truck
1710-maximum-units-on-a-truck
1721-swapping-nodes-in-a-linked-list
1721-swapping-nodes-in-a-linked-list
1791-find-center-of-star-graph
1791-find-center-of-star-graph
1865-finding-pairs-with-a-certain-sum
1865-finding-pairs-with-a-certain-sum
1876-substrings-of-size-three-with-distinct-characters
1876-substrings-of-size-three-with-distinct-characters
189-rotate-array
189-rotate-array
19-remove-nth-node-from-end-of-list
19-remove-nth-node-from-end-of-list
1971-find-if-path-exists-in-graph
1971-find-if-path-exists-in-graph
198-house-robber
198-house-robber
1980-find-unique-binary-string
1980-find-unique-binary-string
199-binary-tree-right-side-view
199-binary-tree-right-side-view
1991-find-the-middle-index-in-array
1991-find-the-middle-index-in-array
200-number-of-islands
200-number-of-islands
2000-reverse-prefix-of-word
2000-reverse-prefix-of-word
2006-count-number-of-pairs-with-absolute-difference-k
2006-count-number-of-pairs-with-absolute-difference-k
2011-final-value-of-variable-after-performing-operations
2011-final-value-of-variable-after-performing-operations
202-happy-number
202-happy-number
203-remove-linked-list-elements
203-remove-linked-list-elements
2033-minimum-operations-to-make-a-uni-value-grid
2033-minimum-operations-to-make-a-uni-value-grid
205-isomorphic-strings
205-isomorphic-strings
206-reverse-linked-list
206-reverse-linked-list
207-course-schedule
207-course-schedule
2073-time-needed-to-buy-tickets
2073-time-needed-to-buy-tickets
208-implement-trie-prefix-tree
208-implement-trie-prefix-tree
209-minimum-size-subarray-sum
209-minimum-size-subarray-sum
2095-delete-the-middle-node-of-a-linked-list
2095-delete-the-middle-node-of-a-linked-list
2099-find-subsequence-of-length-k-with-the-largest-sum
2099-find-subsequence-of-length-k-with-the-largest-sum
210-course-schedule-ii
210-course-schedule-ii
2105-watering-plants-ii
2105-watering-plants-ii
2108-find-first-palindromic-string-in-the-array
2108-find-first-palindromic-string-in-the-array
2114-maximum-number-of-words-found-in-sentences
2114-maximum-number-of-words-found-in-sentences
2125-number-of-laser-beams-in-a-bank
2125-number-of-laser-beams-in-a-bank
2130-maximum-twin-sum-of-a-linked-list
2130-maximum-twin-sum-of-a-linked-list
2149-rearrange-array-elements-by-sign
2149-rearrange-array-elements-by-sign
215-kth-largest-element-in-an-array
215-kth-largest-element-in-an-array
216-combination-sum-iii
216-combination-sum-iii
2160-minimum-sum-of-four-digit-number-after-splitting-digits
2160-minimum-sum-of-four-digit-number-after-splitting-digits
217-contains-duplicate
217-contains-duplicate
2202-maximize-the-topmost-element-after-k-moves
2202-maximize-the-topmost-element-after-k-moves
221-maximal-square
221-maximal-square
2210-count-hills-and-valleys-in-an-array
2210-count-hills-and-valleys-in-an-array
View all files
Repository files navigation
README
More
items
DataStructuresAndAlgorithms
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.