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 }}
harsh27anand
/
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
Latest commit
History
198 Commits
198 Commits
Folders and files
Name
Name
Last commit message
Last commit date
1-two-sum
1-two-sum
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
1313-decompress-run-length-encoded-list
1313-decompress-run-length-encoded-list
136-single-number
136-single-number
1365-how-many-numbers-are-smaller-than-the-current-number
1365-how-many-numbers-are-smaller-than-the-current-number
1431-kids-with-the-greatest-number-of-candies
1431-kids-with-the-greatest-number-of-candies
1470-shuffle-the-array
1470-shuffle-the-array
1476-subrectangle-queries
1476-subrectangle-queries
1480-running-sum-of-1d-array
1480-running-sum-of-1d-array
1502-can-make-arithmetic-progression-from-sequence
1502-can-make-arithmetic-progression-from-sequence
1512-number-of-good-pairs
1512-number-of-good-pairs
1528-shuffle-string
1528-shuffle-string
1662-check-if-two-string-arrays-are-equivalent
1662-check-if-two-string-arrays-are-equivalent
169-majority-element
169-majority-element
17-letter-combinations-of-a-phone-number
17-letter-combinations-of-a-phone-number
1752-check-if-array-is-sorted-and-rotated
1752-check-if-array-is-sorted-and-rotated
1773-count-items-matching-a-rule
1773-count-items-matching-a-rule
1816-truncate-sentence
1816-truncate-sentence
189-rotate-array
189-rotate-array
1920-build-array-from-permutation
1920-build-array-from-permutation
1929-concatenation-of-array
1929-concatenation-of-array
2011-final-value-of-variable-after-performing-operations
2011-final-value-of-variable-after-performing-operations
203-remove-linked-list-elements
203-remove-linked-list-elements
2037-minimum-number-of-moves-to-seat-everyone
2037-minimum-number-of-moves-to-seat-everyone
2114-maximum-number-of-words-found-in-sentences
2114-maximum-number-of-words-found-in-sentences
2149-rearrange-array-elements-by-sign
2149-rearrange-array-elements-by-sign
2160-minimum-sum-of-four-digit-number-after-splitting-digits
2160-minimum-sum-of-four-digit-number-after-splitting-digits
237-delete-node-in-a-linked-list
237-delete-node-in-a-linked-list
26-remove-duplicates-from-sorted-array
26-remove-duplicates-from-sorted-array
268-missing-number
268-missing-number
27-remove-element
27-remove-element
283-move-zeroes
283-move-zeroes
319-bulb-switcher
319-bulb-switcher
34-find-first-and-last-position-of-element-in-sorted-array
34-find-first-and-last-position-of-element-in-sorted-array
37-sudoku-solver
37-sudoku-solver
39-combination-sum
39-combination-sum
42-trapping-rain-water
42-trapping-rain-water
46-permutations
46-permutations
485-max-consecutive-ones
485-max-consecutive-ones
509-fibonacci-number
509-fibonacci-number
53-maximum-subarray
53-maximum-subarray
724-find-pivot-index
724-find-pivot-index
74-search-a-2d-matrix
74-search-a-2d-matrix
75-sort-colors
75-sort-colors
78-subsets
78-subsets
90-subsets-ii
90-subsets-ii
Armstrong Numbers - GFG
Armstrong Numbers - GFG
Bubble Sort - GFG
Bubble Sort - GFG
Count Digits - GFG
Count Digits - GFG
Insertion Sort - GFG
Insertion Sort - GFG
Merge Sort - GFG
Merge Sort - GFG
Number Formation - GFG
Number Formation - GFG
Palindrome String - GFG
Palindrome String - GFG
Print 1 To N Without Loop - GFG
Print 1 To N Without Loop - GFG
Print GFG n times - GFG
Print GFG n times - GFG
Print N to 1 without loop - GFG
Print N to 1 without loop - GFG
Reverse Spiral Form of Matrix - GFG
Reverse Spiral Form of Matrix - GFG
Search an Element in an array - GFG
Search an Element in an array - GFG
Sum of first n terms - GFG
Sum of first n terms - GFG
README.md
README.md
View all files
Repository files navigation
README
More
items
LeetCode
LeetCode
About
LeetCode
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.