Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Small and medium teams
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
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 }}
tanmayb104
Leetcode-solutions
Repository navigation
Code
Issues
Pull requests
1
(1)
Actions
Projects
Security and quality
Insights
More
items
Leetcode-solutions
Public
Notifications
You must be signed in to change notification settings
Fork
1
(
1
)
Star
5
(
5
)
You must be signed in to star a repository
About
Solutions to Leetcode Problems solved by me.
Resources
Readme
Activity
Stars
5
stars
Watchers
1
watching
Forks
1
fork
Report repository
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
1,704 Commits
1,704 Commits
Folders and files
Name
Name
Last commit message
Last commit date
0003-longest-substring-without-repeating-characters
0003-longest-substring-without-repeating-characters
0006-zigzag-conversion
0006-zigzag-conversion
0012-integer-to-roman
0012-integer-to-roman
0020-valid-parentheses
0020-valid-parentheses
0023-merge-k-sorted-lists
0023-merge-k-sorted-lists
0024-swap-nodes-in-pairs
0024-swap-nodes-in-pairs
0026-remove-duplicates-from-sorted-array
0026-remove-duplicates-from-sorted-array
0028-find-the-index-of-the-first-occurrence-in-a-string
0028-find-the-index-of-the-first-occurrence-in-a-string
0035-search-insert-position
0035-search-insert-position
0036-valid-sudoku
0036-valid-sudoku
0038-count-and-say
0038-count-and-say
0045-jump-game-ii
0045-jump-game-ii
0049-group-anagrams
0049-group-anagrams
0054-spiral-matrix
0054-spiral-matrix
0057-insert-interval
0057-insert-interval
0059-spiral-matrix-ii
0059-spiral-matrix-ii
0064-minimum-path-sum
0064-minimum-path-sum
0067-add-binary
0067-add-binary
0071-simplify-path
0071-simplify-path
0072-edit-distance
0072-edit-distance
0076-minimum-window-substring
0076-minimum-window-substring
0079-word-search
0079-word-search
0087-scramble-string
0087-scramble-string
0093-restore-ip-addresses
0093-restore-ip-addresses
0100-same-tree
0100-same-tree
0101-symmetric-tree
0101-symmetric-tree
0103-binary-tree-zigzag-level-order-traversal
0103-binary-tree-zigzag-level-order-traversal
0104-maximum-depth-of-binary-tree
0104-maximum-depth-of-binary-tree
0106-construct-binary-tree-from-inorder-and-postorder-traversal
0106-construct-binary-tree-from-inorder-and-postorder-traversal
0109-convert-sorted-list-to-binary-search-tree
0109-convert-sorted-list-to-binary-search-tree
0121-best-time-to-buy-and-sell-stock
0121-best-time-to-buy-and-sell-stock
0129-sum-root-to-leaf-numbers
0129-sum-root-to-leaf-numbers
0131-palindrome-partitioning
0131-palindrome-partitioning
0133-clone-graph
0133-clone-graph
0134-gas-station
0134-gas-station
0137-single-number-ii
0137-single-number-ii
0142-linked-list-cycle-ii
0142-linked-list-cycle-ii
0144-binary-tree-preorder-traversal
0144-binary-tree-preorder-traversal
0149-max-points-on-a-line
0149-max-points-on-a-line
0151-reverse-words-in-a-string
0151-reverse-words-in-a-string
0208-implement-trie-prefix-tree
0208-implement-trie-prefix-tree
0211-design-add-and-search-words-data-structure
0211-design-add-and-search-words-data-structure
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
0226-invert-binary-tree
0226-invert-binary-tree
0228-summary-ranges
0228-summary-ranges
0237-delete-node-in-a-linked-list
0237-delete-node-in-a-linked-list
0258-add-digits
0258-add-digits
0263-ugly-number
0263-ugly-number
0279-perfect-squares
0279-perfect-squares
0295-find-median-from-data-stream
0295-find-median-from-data-stream
0319-bulb-switcher
0319-bulb-switcher
0334-increasing-triplet-subsequence
0334-increasing-triplet-subsequence
0345-reverse-vowels-of-a-string
0345-reverse-vowels-of-a-string
0347-top-k-frequent-elements
0347-top-k-frequent-elements
0352-data-stream-as-disjoint-intervals
0352-data-stream-as-disjoint-intervals
0373-find-k-pairs-with-smallest-sums
0373-find-k-pairs-with-smallest-sums
0374-guess-number-higher-or-lower
0374-guess-number-higher-or-lower
0380-insert-delete-getrandom-o1
0380-insert-delete-getrandom-o1
0382-linked-list-random-node
0382-linked-list-random-node
0399-evaluate-division
0399-evaluate-division
0427-construct-quad-tree
0427-construct-quad-tree
0433-minimum-genetic-mutation
0433-minimum-genetic-mutation
0438-find-all-anagrams-in-a-string
0438-find-all-anagrams-in-a-string
0443-string-compression
0443-string-compression
0446-arithmetic-slices-ii-subsequence
0446-arithmetic-slices-ii-subsequence
0452-minimum-number-of-arrows-to-burst-balloons
0452-minimum-number-of-arrows-to-burst-balloons
0460-lfu-cache
0460-lfu-cache
0472-concatenated-words
0472-concatenated-words
0491-non-decreasing-subsequences
0491-non-decreasing-subsequences
0502-ipo
0502-ipo
0516-longest-palindromic-subsequence
0516-longest-palindromic-subsequence
0520-detect-capital
0520-detect-capital
0523-continuous-subarray-sum
0523-continuous-subarray-sum
0530-minimum-absolute-difference-in-bst
0530-minimum-absolute-difference-in-bst
0540-single-element-in-a-sorted-array
0540-single-element-in-a-sorted-array
0547-number-of-provinces
0547-number-of-provinces
0554-brick-wall
0554-brick-wall
0567-permutation-in-string
0567-permutation-in-string
0587-erect-the-fence
0587-erect-the-fence
0605-can-place-flowers
0605-can-place-flowers
0645-set-mismatch
0645-set-mismatch
0649-dota2-senate
0649-dota2-senate
0652-find-duplicate-subtrees
0652-find-duplicate-subtrees
0662-maximum-width-of-binary-tree
0662-maximum-width-of-binary-tree
0692-top-k-frequent-words
0692-top-k-frequent-words
0703-kth-largest-element-in-a-stream
0703-kth-largest-element-in-a-stream
0704-binary-search
0704-binary-search
0705-design-hashset
0705-design-hashset
0714-best-time-to-buy-and-sell-stock-with-transaction-fee
0714-best-time-to-buy-and-sell-stock-with-transaction-fee
0766-toeplitz-matrix
0766-toeplitz-matrix
0783-minimum-distance-between-bst-nodes
0783-minimum-distance-between-bst-nodes
0785-is-graph-bipartite
0785-is-graph-bipartite
0787-cheapest-flights-within-k-stops
0787-cheapest-flights-within-k-stops
0835-image-overlap
0835-image-overlap
0837-new-21-game
0837-new-21-game
0839-similar-string-groups
0839-similar-string-groups
View all files
Repository files navigation
README
More
items
Leetcode-solutions
Solutions to Leetcode Problems solved by me.
About
Solutions to Leetcode Problems solved by me.
Resources
Readme
Activity
Stars
5
stars
Watchers
1
watching
Forks
1
fork
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.