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 }}
Hritickjha
/
leetcode
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
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
386 Commits
386 Commits
Folders and files
Name
Name
Last commit message
Last commit date
1-two-sum
1-two-sum
1000-delete-columns-to-make-sorted-iii
1000-delete-columns-to-make-sorted-iii
1058-lexicographically-smallest-equivalent-string
1058-lexicographically-smallest-equivalent-string
1064-smallest-integer-divisible-by-k
1064-smallest-integer-divisible-by-k
1071-binary-prefix-divisible-by-5
1071-binary-prefix-divisible-by-5
1179-game-play-analysis-i
1179-game-play-analysis-i
120-triangle
120-triangle
1264-maximum-number-of-words-you-can-type
1264-maximum-number-of-words-you-can-type
1284-four-divisors
1284-four-divisors
1293-three-consecutive-odds
1293-three-consecutive-odds
1302-delete-characters-to-make-fancy-string
1302-delete-characters-to-make-fancy-string
1311-largest-magic-square
1311-largest-magic-square
1353-find-resultant-array-after-removing-anagrams
1353-find-resultant-array-after-removing-anagrams
1388-greatest-sum-divisible-by-three
1388-greatest-sum-divisible-by-three
1395-minimum-time-visiting-all-points
1395-minimum-time-visiting-all-points
1426-find-n-unique-integers-sum-up-to-zero
1426-find-n-unique-integers-sum-up-to-zero
1440-convert-integer-to-the-sum-of-two-no-zero-integers
1440-convert-integer-to-the-sum-of-two-no-zero-integers
1447-jump-game-iv
1447-jump-game-iv
1448-maximum-69-number
1448-maximum-69-number
1465-maximum-product-of-splitted-binary-tree
1465-maximum-product-of-splitted-binary-tree
1476-count-negative-numbers-in-a-sorted-matrix
1476-count-negative-numbers-in-a-sorted-matrix
1487-cinema-seat-allocation
1487-cinema-seat-allocation
1527-number-of-ways-to-paint-n-3-grid
1527-number-of-ways-to-paint-n-3-grid
1548-check-if-all-1s-are-at-least-length-k-places-away
1548-check-if-all-1s-are-at-least-length-k-places-away
1628-count-submatrices-with-all-ones
1628-count-submatrices-with-all-ones
1630-count-odd-numbers-in-an-interval-range
1630-count-odd-numbers-in-an-interval-range
165-compare-version-numbers
165-compare-version-numbers
1663-detect-cycles-in-2d-grid
1663-detect-cycles-in-2d-grid
1685-stone-game-v
1685-stone-game-v
1784-minimum-initial-energy-to-finish-tasks
1784-minimum-initial-energy-to-finish-tasks
1793-minimum-moves-to-make-array-complementary
1793-minimum-moves-to-make-array-complementary
1813-maximum-erasure-value
1813-maximum-erasure-value
1834-minimum-number-of-people-to-teach
1834-minimum-number-of-people-to-teach
1840-minimize-hamming-distance-after-swap-operations
1840-minimize-hamming-distance-after-swap-operations
1878-check-if-array-is-sorted-and-rotated
1878-check-if-array-is-sorted-and-rotated
1917-maximum-average-pass-ratio
1917-maximum-average-pass-ratio
1956-maximum-element-after-decreasing-and-rearranging
1956-maximum-element-after-decreasing-and-rearranging
1961-maximum-ice-cream-bars
1961-maximum-ice-cream-bars
1984-maximum-distance-between-a-pair-of-values
1984-maximum-distance-between-a-pair-of-values
1988-minimize-maximum-pair-sum-in-array
1988-minimize-maximum-pair-sum-in-array
1990-get-biggest-three-rhombus-sums-in-a-grid
1990-get-biggest-three-rhombus-sums-in-a-grid
2002-stone-game-viii
2002-stone-game-viii
2015-determine-whether-matrix-can-be-obtained-by-rotation
2015-determine-whether-matrix-can-be-obtained-by-rotation
2023-design-movie-rental-system
2023-design-movie-rental-system
2043-cyclically-rotating-a-grid
2043-cyclically-rotating-a-grid
2048-build-array-from-permutation
2048-build-array-from-permutation
2061-painting-a-grid-with-three-different-colors
2061-painting-a-grid-with-three-different-colors
2079-delete-duplicate-folders-in-system
2079-delete-duplicate-folders-in-system
2089-maximum-matrix-sum
2089-maximum-matrix-sum
2099-number-of-strings-that-appear-as-substrings-in-word
2099-number-of-strings-that-appear-as-substrings-in-word
2101-last-day-where-you-can-still-cross
2101-last-day-where-you-can-still-cross
2164-two-best-non-overlapping-events
2164-two-best-non-overlapping-events
2178-walking-robot-simulation-ii
2178-walking-robot-simulation-ii
2182-find-the-minimum-and-maximum-number-of-nodes-between-critical-points
2182-find-the-minimum-and-maximum-number-of-nodes-between-critical-points
2197-decode-the-slanted-ciphertext
2197-decode-the-slanted-ciphertext
2212-removing-minimum-and-maximum-from-array
2212-removing-minimum-and-maximum-from-array
2213-find-all-people-with-secret
2213-find-all-people-with-secret
2215-finding-3-digit-even-numbers
2215-finding-3-digit-even-numbers
2233-number-of-smooth-descent-periods-of-a-stock
2233-number-of-smooth-descent-periods-of-a-stock
2236-maximum-twin-sum-of-a-linked-list
2236-maximum-twin-sum-of-a-linked-list
2245-destroying-asteroids
2245-destroying-asteroids
2251-number-of-ways-to-divide-a-long-corridor
2251-number-of-ways-to-divide-a-long-corridor
2263-maximum-running-time-of-n-computers
2263-maximum-running-time-of-n-computers
2267-minimum-difference-in-sums-after-removal-of-elements
2267-minimum-difference-in-sums-after-removal-of-elements
2274-keep-multiplying-found-values-by-two
2274-keep-multiplying-found-values-by-two
2307-replace-non-coprime-numbers-in-array
2307-replace-non-coprime-numbers-in-array
2317-count-collisions-on-a-road
2317-count-collisions-on-a-road
2319-longest-substring-of-one-repeating-character
2319-longest-substring-of-one-repeating-character
2346-largest-3-same-digit-number-in-string
2346-largest-3-same-digit-number-in-string
2392-successful-pairs-of-spells-and-potions
2392-successful-pairs-of-spells-and-potions
2429-design-a-food-rating-system
2429-design-a-food-rating-system
2479-meeting-rooms-iii
2479-meeting-rooms-iii
2521-paths-in-matrix-whose-sum-is-divisible-by-k
2521-paths-in-matrix-whose-sum-is-divisible-by-k
2550-words-within-two-edits-of-dictionary
2550-words-within-two-edits-of-dictionary
2554-minimum-total-distance-traveled
2554-minimum-total-distance-traveled
2576-minimum-penalty-for-a-shop
2576-minimum-penalty-for-a-shop
2661-smallest-missing-non-negative-integer-after-operations
2661-smallest-missing-non-negative-integer-after-operations
2720-minimize-the-maximum-difference-of-pairs
2720-minimize-the-maximum-difference-of-pairs
2721-sum-of-distances
2721-sum-of-distances
2732-counter
2732-counter
2837-minimum-operations-to-make-the-integer-zero
2837-minimum-operations-to-make-the-integer-zero
2846-robot-collisions
2846-robot-collisions
2887-sort-vowels-in-a-string
2887-sort-vowels-in-a-string
2892-check-if-array-is-good
2892-check-if-array-is-good
2914-find-the-safest-path-in-a-grid
2914-find-the-safest-path-in-a-grid
2978-check-if-strings-can-be-made-equal-with-operations-ii
2978-check-if-strings-can-be-made-equal-with-operations-ii
2999-check-if-strings-can-be-made-equal-with-operations-i
2999-check-if-strings-can-be-made-equal-with-operations-i
3058-maximum-number-of-k-divisible-components
3058-maximum-number-of-k-divisible-components
312-burst-balloons
312-burst-balloons
3142-longest-unequal-adjacent-groups-subsequence-ii
3142-longest-unequal-adjacent-groups-subsequence-ii
3194-find-words-containing-character
3194-find-words-containing-character
3214-maximize-area-of-square-hole-in-grid
3214-maximize-area-of-square-hole-in-grid
3215-matrix-similarity-after-cyclic-shifts
3215-matrix-similarity-after-cyclic-shifts
3219-make-lexicographically-smallest-array-by-swapping-elements
3219-make-lexicographically-smallest-array-by-swapping-elements
3235-minimum-cost-to-convert-string-i
3235-minimum-cost-to-convert-string-i
3236-smallest-missing-integer-greater-than-sequential-prefix-sum
3236-smallest-missing-integer-greater-than-sequential-prefix-sum
3238-minimum-cost-to-convert-string-ii
3238-minimum-cost-to-convert-string-ii
3242-count-elements-with-maximum-frequency
3242-count-elements-with-maximum-frequency
3251-maximum-area-of-longest-diagonal-rectangle
3251-maximum-area-of-longest-diagonal-rectangle
326-power-of-three
326-power-of-three
View all files
Repository files navigation
README
More
items
leetcode
About
No description, website, or topics provided.
Resources
Readme
Activity
Stars
1
star
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.