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 }}
subhamengine
/
Leetcode
Public
Notifications
You must be signed in to change notification settings
Fork
2
Star
8
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
1,009 Commits
1,009 Commits
0012-integer-to-roman
0012-integer-to-roman
0026-remove-duplicates-from-sorted-array
0026-remove-duplicates-from-sorted-array
0036-valid-sudoku
0036-valid-sudoku
0038-count-and-say
0038-count-and-say
0049-group-anagrams
0049-group-anagrams
0076-minimum-window-substring
0076-minimum-window-substring
0079-word-search
0079-word-search
0151-reverse-words-in-a-string
0151-reverse-words-in-a-string
0187-repeated-dna-sequences
0187-repeated-dna-sequences
0212-word-search-ii
0212-word-search-ii
0219-contains-duplicate-ii
0219-contains-duplicate-ii
0222-count-complete-tree-nodes
0222-count-complete-tree-nodes
0223-rectangle-area
0223-rectangle-area
0224-basic-calculator
0224-basic-calculator
0237-delete-node-in-a-linked-list
0237-delete-node-in-a-linked-list
0239-sliding-window-maximum
0239-sliding-window-maximum
0263-ugly-number
0263-ugly-number
0268-missing-number
0268-missing-number
0279-perfect-squares
0279-perfect-squares
0295-find-median-from-data-stream
0295-find-median-from-data-stream
0334-increasing-triplet-subsequence
0334-increasing-triplet-subsequence
0345-reverse-vowels-of-a-string
0345-reverse-vowels-of-a-string
0374-guess-number-higher-or-lower
0374-guess-number-higher-or-lower
0380-insert-delete-getrandom-o1
0380-insert-delete-getrandom-o1
0433-minimum-genetic-mutation
0433-minimum-genetic-mutation
0438-find-all-anagrams-in-a-string
0438-find-all-anagrams-in-a-string
0446-arithmetic-slices-ii-subsequence
0446-arithmetic-slices-ii-subsequence
0451-sort-characters-by-frequency
0451-sort-characters-by-frequency
0523-continuous-subarray-sum
0523-continuous-subarray-sum
0587-erect-the-fence
0587-erect-the-fence
0645-set-mismatch
0645-set-mismatch
0692-top-k-frequent-words
0692-top-k-frequent-words
0766-toeplitz-matrix
0766-toeplitz-matrix
0835-image-overlap
0835-image-overlap
0876-middle-of-the-linked-list
0876-middle-of-the-linked-list
0899-orderly-queue
0899-orderly-queue
0901-online-stock-span
0901-online-stock-span
0907-sum-of-subarray-minimums
0907-sum-of-subarray-minimums
0947-most-stones-removed-with-same-row-or-column
0947-most-stones-removed-with-same-row-or-column
0976-largest-perimeter-triangle
0976-largest-perimeter-triangle
102-binary-tree-level-order-traversal
102-binary-tree-level-order-traversal
1047-remove-all-adjacent-duplicates-in-string
1047-remove-all-adjacent-duplicates-in-string
1048-longest-string-chain
1048-longest-string-chain
105-construct-binary-tree-from-preorder-and-inorder-traversal
105-construct-binary-tree-from-preorder-and-inorder-traversal
1074-number-of-submatrices-that-sum-to-target
1074-number-of-submatrices-that-sum-to-target
108-convert-sorted-array-to-binary-search-tree
108-convert-sorted-array-to-binary-search-tree
109-convert-sorted-list-to-binary-search-tree
109-convert-sorted-list-to-binary-search-tree
1091-shortest-path-in-binary-matrix
1091-shortest-path-in-binary-matrix
1092-shortest-common-supersequence
1092-shortest-common-supersequence
112-path-sum
112-path-sum
113-path-sum-ii
113-path-sum-ii
114-flatten-binary-tree-to-linked-list
114-flatten-binary-tree-to-linked-list
1143-longest-common-subsequence
1143-longest-common-subsequence
115-distinct-subsequences
115-distinct-subsequences
1155-number-of-dice-rolls-with-target-sum
1155-number-of-dice-rolls-with-target-sum
117-populating-next-right-pointers-in-each-node-ii
117-populating-next-right-pointers-in-each-node-ii
118-pascals-triangle
118-pascals-triangle
1192-critical-connections-in-a-network
1192-critical-connections-in-a-network
120-triangle
120-triangle
1202-smallest-string-with-swaps
1202-smallest-string-with-swaps
1207-unique-number-of-occurrences
1207-unique-number-of-occurrences
1209-remove-all-adjacent-duplicates-in-string-ii
1209-remove-all-adjacent-duplicates-in-string-ii
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
1220-count-vowels-permutation
1220-count-vowels-permutation
123-best-time-to-buy-and-sell-stock-iii
123-best-time-to-buy-and-sell-stock-iii
1235-maximum-profit-in-job-scheduling
1235-maximum-profit-in-job-scheduling
1239-maximum-length-of-a-concatenated-string-with-unique-characters
1239-maximum-length-of-a-concatenated-string-with-unique-characters
126-word-ladder-ii
126-word-ladder-ii
1268-search-suggestions-system
1268-search-suggestions-system
128-longest-consecutive-sequence
128-longest-consecutive-sequence
1293-shortest-path-in-a-grid-with-obstacles-elimination
1293-shortest-path-in-a-grid-with-obstacles-elimination
13-roman-to-integer
13-roman-to-integer
1302-deepest-leaves-sum
1302-deepest-leaves-sum
1312-minimum-insertion-steps-to-make-a-string-palindrome
1312-minimum-insertion-steps-to-make-a-string-palindrome
1323-maximum-69-number
1323-maximum-69-number
1328-break-a-palindrome
1328-break-a-palindrome
1329-sort-the-matrix-diagonally
1329-sort-the-matrix-diagonally
1332-remove-palindromic-subsequences
1332-remove-palindromic-subsequences
1335-minimum-difficulty-of-a-job-schedule
1335-minimum-difficulty-of-a-job-schedule
1338-reduce-array-size-to-the-half
1338-reduce-array-size-to-the-half
1342-number-of-steps-to-reduce-a-number-to-zero
1342-number-of-steps-to-reduce-a-number-to-zero
135-candy
135-candy
1354-construct-target-array-with-multiple-sums
1354-construct-target-array-with-multiple-sums
1379-find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree
1379-find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree
1383-maximum-performance-of-a-team
1383-maximum-performance-of-a-team
1396-design-underground-system
1396-design-underground-system
1423-maximum-points-you-can-obtain-from-cards
1423-maximum-points-you-can-obtain-from-cards
1448-count-good-nodes-in-binary-tree
1448-count-good-nodes-in-binary-tree
1457-pseudo-palindromic-paths-in-a-binary-tree
1457-pseudo-palindromic-paths-in-a-binary-tree
1461-check-if-a-string-contains-all-binary-codes-of-size-k
1461-check-if-a-string-contains-all-binary-codes-of-size-k
1463-cherry-pickup-ii
1463-cherry-pickup-ii
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
1473-paint-house-iii
1473-paint-house-iii
1480-running-sum-of-1d-array
1480-running-sum-of-1d-array
1531-string-compression-ii
1531-string-compression-ii
1544-make-the-string-great
1544-make-the-string-great
1578-minimum-time-to-make-rope-colorful
1578-minimum-time-to-make-rope-colorful
1584-min-cost-to-connect-all-points
1584-min-cost-to-connect-all-points
16-3sum-closest
16-3sum-closest
View all files
About
No description, website, or topics provided.
Activity
Stars
8
stars
Watchers
1
watching
Forks
2
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.