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 }}
adityaajay29
/
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
2,290 Commits
2,290 Commits
0012-integer-to-roman
0012-integer-to-roman
0026-remove-duplicates-from-sorted-array
0026-remove-duplicates-from-sorted-array
0027-remove-element
0027-remove-element
0038-count-and-say
0038-count-and-say
0049-group-anagrams
0049-group-anagrams
0076-minimum-window-substring
0076-minimum-window-substring
0151-reverse-words-in-a-string
0151-reverse-words-in-a-string
0212-word-search-ii
0212-word-search-ii
0219-contains-duplicate-ii
0219-contains-duplicate-ii
0237-delete-node-in-a-linked-list
0237-delete-node-in-a-linked-list
0295-find-median-from-data-stream
0295-find-median-from-data-stream
0345-reverse-vowels-of-a-string
0345-reverse-vowels-of-a-string
0374-guess-number-higher-or-lower
0374-guess-number-higher-or-lower
0433-minimum-genetic-mutation
0433-minimum-genetic-mutation
0451-sort-characters-by-frequency
0451-sort-characters-by-frequency
0523-continuous-subarray-sum
0523-continuous-subarray-sum
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
0901-online-stock-span
0901-online-stock-span
0947-most-stones-removed-with-same-row-or-column
0947-most-stones-removed-with-same-row-or-column
1-two-sum
1-two-sum
100-same-tree
100-same-tree
1008-construct-binary-search-tree-from-preorder-traversal
1008-construct-binary-search-tree-from-preorder-traversal
101-symmetric-tree
101-symmetric-tree
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
1020-number-of-enclaves
1020-number-of-enclaves
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
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
106-construct-binary-tree-from-inorder-and-postorder-traversal
106-construct-binary-tree-from-inorder-and-postorder-traversal
107-binary-tree-level-order-traversal-ii
107-binary-tree-level-order-traversal-ii
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
11-container-with-most-water
11-container-with-most-water
110-balanced-binary-tree
110-balanced-binary-tree
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
116-populating-next-right-pointers-in-each-node
116-populating-next-right-pointers-in-each-node
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
12-integer-to-roman
12-integer-to-roman
120-triangle
120-triangle
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
124-binary-tree-maximum-path-sum
124-binary-tree-maximum-path-sum
126-word-ladder-ii
126-word-ladder-ii
1260-shift-2d-grid
1260-shift-2d-grid
1268-search-suggestions-system
1268-search-suggestions-system
127-word-ladder
127-word-ladder
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
130-surrounded-regions
130-surrounded-regions
1302-deepest-leaves-sum
1302-deepest-leaves-sum
131-palindrome-partitioning
131-palindrome-partitioning
1312-minimum-insertion-steps-to-make-a-string-palindrome
1312-minimum-insertion-steps-to-make-a-string-palindrome
132-palindrome-partitioning-ii
132-palindrome-partitioning-ii
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
1351-count-negative-numbers-in-a-sorted-matrix
1351-count-negative-numbers-in-a-sorted-matrix
1373-maximum-sum-bst-in-binary-tree
1373-maximum-sum-bst-in-binary-tree
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
138-copy-list-with-random-pointer
138-copy-list-with-random-pointer
1396-design-underground-system
1396-design-underground-system
14-longest-common-prefix
14-longest-common-prefix
141-linked-list-cycle
141-linked-list-cycle
1414-find-the-minimum-number-of-fibonacci-numbers-whose-sum-is-k
1414-find-the-minimum-number-of-fibonacci-numbers-whose-sum-is-k
142-linked-list-cycle-ii
142-linked-list-cycle-ii
1423-maximum-points-you-can-obtain-from-cards
1423-maximum-points-you-can-obtain-from-cards
1436-destination-city
1436-destination-city
144-binary-tree-preorder-traversal
144-binary-tree-preorder-traversal
1448-count-good-nodes-in-binary-tree
1448-count-good-nodes-in-binary-tree
145-binary-tree-postorder-traversal
145-binary-tree-postorder-traversal
1457-pseudo-palindromic-paths-in-a-binary-tree
1457-pseudo-palindromic-paths-in-a-binary-tree
146-lru-cache
146-lru-cache
1461-check-if-a-string-contains-all-binary-codes-of-size-k
1461-check-if-a-string-contains-all-binary-codes-of-size-k
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
View all files
About
This repo contains my solution to some of the good leetcode problems, and gets updated almost daily.
Topics
cpp
dsa-algorithm
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.