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 }}
yashdivya5
/
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
266 Commits
266 Commits
1-two-sum
1-two-sum
1013-fibonacci-number
1013-fibonacci-number
1054-complement-of-base-10-integer
1054-complement-of-base-10-integer
11-container-with-most-water
11-container-with-most-water
118-pascals-triangle
118-pascals-triangle
121-best-time-to-buy-and-sell-stock
121-best-time-to-buy-and-sell-stock
125-valid-palindrome
125-valid-palindrome
128-longest-consecutive-sequence
128-longest-consecutive-sequence
1319-unique-number-of-occurrences
1319-unique-number-of-occurrences
136-single-number
136-single-number
138-copy-list-with-random-pointer
138-copy-list-with-random-pointer
1406-subtract-the-product-and-sum-of-digits-of-an-integer
1406-subtract-the-product-and-sum-of-digits-of-an-integer
141-linked-list-cycle
141-linked-list-cycle
142-linked-list-cycle-ii
142-linked-list-cycle-ii
146-lru-cache
146-lru-cache
1468-check-if-n-and-its-double-exist
1468-check-if-n-and-its-double-exist
148-sort-list
148-sort-list
15-3sum
15-3sum
153-find-minimum-in-rotated-sorted-array
153-find-minimum-in-rotated-sorted-array
154-find-minimum-in-rotated-sorted-array-ii
154-find-minimum-in-rotated-sorted-array-ii
1574-maximum-product-of-two-elements-in-an-array
1574-maximum-product-of-two-elements-in-an-array
1605-minimum-number-of-days-to-make-m-bouquets
1605-minimum-number-of-days-to-make-m-bouquets
167-two-sum-ii-input-array-is-sorted
167-two-sum-ii-input-array-is-sorted
169-majority-element
169-majority-element
1878-check-if-array-is-sorted-and-rotated
1878-check-if-array-is-sorted-and-rotated
189-rotate-array
189-rotate-array
191-number-of-1-bits
191-number-of-1-bits
20-valid-parentheses
20-valid-parentheses
202-happy-number
202-happy-number
2021-remove-all-occurrences-of-a-substring
2021-remove-all-occurrences-of-a-substring
204-count-primes
204-count-primes
206-reverse-linked-list
206-reverse-linked-list
21-merge-two-sorted-lists
21-merge-two-sorted-lists
2162-partition-array-into-two-arrays-to-minimize-sum-difference
2162-partition-array-into-two-arrays-to-minimize-sum-difference
217-contains-duplicate
217-contains-duplicate
2271-rearrange-array-elements-by-sign
2271-rearrange-array-elements-by-sign
2277-count-equal-and-divisible-pairs-in-an-array
2277-count-equal-and-divisible-pairs-in-an-array
229-majority-element-ii
229-majority-element-ii
2308-divide-array-into-equal-pairs
2308-divide-array-into-equal-pairs
231-power-of-two
231-power-of-two
234-palindrome-linked-list
234-palindrome-linked-list
238-product-of-array-except-self
238-product-of-array-except-self
2380-booking-concert-tickets-in-groups
2380-booking-concert-tickets-in-groups
239-sliding-window-maximum
239-sliding-window-maximum
25-reverse-nodes-in-k-group
25-reverse-nodes-in-k-group
26-remove-duplicates-from-sorted-array
26-remove-duplicates-from-sorted-array
268-missing-number
268-missing-number
27-remove-element
27-remove-element
278-first-bad-version
278-first-bad-version
283-move-zeroes
283-move-zeroes
287-find-the-duplicate-number
287-find-the-duplicate-number
29-divide-two-integers
29-divide-two-integers
3-longest-substring-without-repeating-characters
3-longest-substring-without-repeating-characters
31-next-permutation
31-next-permutation
326-power-of-three
326-power-of-three
34-find-first-and-last-position-of-element-in-sorted-array
34-find-first-and-last-position-of-element-in-sorted-array
342-power-of-four
342-power-of-four
344-reverse-string
344-reverse-string
367-valid-perfect-square
367-valid-perfect-square
387-first-unique-character-in-a-string
387-first-unique-character-in-a-string
420-strong-password-checker
420-strong-password-checker
442-find-all-duplicates-in-an-array
442-find-all-duplicates-in-an-array
443-string-compression
443-string-compression
485-max-consecutive-ones
485-max-consecutive-ones
50-powx-n
50-powx-n
53-maximum-subarray
53-maximum-subarray
54-spiral-matrix
54-spiral-matrix
69-sqrtx
69-sqrtx
7-reverse-integer
7-reverse-integer
74-search-a-2d-matrix
74-search-a-2d-matrix
745-find-smallest-letter-greater-than-target
745-find-smallest-letter-greater-than-target
75-sort-colors
75-sort-colors
792-binary-search
792-binary-search
81-search-in-rotated-sorted-array-ii
81-search-in-rotated-sorted-array-ii
83-remove-duplicates-from-sorted-list
83-remove-duplicates-from-sorted-list
88-merge-sorted-array
88-merge-sorted-array
882-peak-index-in-a-mountain-array
882-peak-index-in-a-mountain-array
907-koko-eating-bananas
907-koko-eating-bananas
908-middle-of-the-linked-list
908-middle-of-the-linked-list
940-fruit-into-baskets
940-fruit-into-baskets
View all files
About
No description, website, or topics provided.
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.