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
Team
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 }}
NupurFunkwal
Leetcode
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Leetcode
Public
Notifications
You must be signed in to change notification settings
Fork
0
(
0
)
Star
1
(
1
)
You must be signed in to star a repository
About
Solved Leetcode Problems
Topics
dynamic-programming
leetcode
leetcode-solutions
Resources
Readme
Activity
Stars
1
star
Watchers
1
watching
Forks
0
forks
Report repository
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
327 Commits
327 Commits
Folders and files
Name
Name
Last commit message
Last commit date
1-two-sum
1-two-sum
124-binary-tree-maximum-path-sum
124-binary-tree-maximum-path-sum
1376-time-needed-to-inform-all-employees
1376-time-needed-to-inform-all-employees
139-word-break
139-word-break
16-3sum-closest
16-3sum-closest
2-keys-keyboard
2-keys-keyboard
376-wiggle-subsequence
376-wiggle-subsequence
3sum
3sum
543-diameter-of-binary-tree
543-diameter-of-binary-tree
59-spiral-matrix-ii
59-spiral-matrix-ii
63-unique-paths-ii
63-unique-paths-ii
75-sort-colors
75-sort-colors
87-scramble-string
87-scramble-string
887-super-egg-drop
887-super-egg-drop
98-validate-binary-search-tree
98-validate-binary-search-tree
Bottom View of Binary Tree - GFG
Bottom View of Binary Tree - GFG
Detect cycle in a directed graph - GFG
Detect cycle in a directed graph - GFG
Left View of Binary Tree - GFG
Left View of Binary Tree - GFG
Maximum path sum from any node - GFG
Maximum path sum from any node - GFG
Optimal Strategy For A Game - GFG
Optimal Strategy For A Game - GFG
Replace O's with X's - GFG
Replace O's with X's - GFG
Root to leaf paths sum - GFG
Root to leaf paths sum - GFG
add-two-numbers
add-two-numbers
all-elements-in-two-binary-search-trees
all-elements-in-two-binary-search-trees
all-paths-from-source-to-target
all-paths-from-source-to-target
balanced-binary-tree
balanced-binary-tree
best-time-to-buy-and-sell-stock-ii
best-time-to-buy-and-sell-stock-ii
best-time-to-buy-and-sell-stock-iii
best-time-to-buy-and-sell-stock-iii
best-time-to-buy-and-sell-stock-with-cooldown
best-time-to-buy-and-sell-stock-with-cooldown
best-time-to-buy-and-sell-stock
best-time-to-buy-and-sell-stock
binary-search-tree-to-greater-sum-tree
binary-search-tree-to-greater-sum-tree
binary-tree-inorder-traversal
binary-tree-inorder-traversal
binary-tree-preorder-traversal
binary-tree-preorder-traversal
binary-tree-right-side-view
binary-tree-right-side-view
climbing-stairs
climbing-stairs
clone-graph
clone-graph
coin-change-2
coin-change-2
coin-change
coin-change
combinations
combinations
construct-binary-search-tree-from-preorder-traversal
construct-binary-search-tree-from-preorder-traversal
construct-binary-tree-from-preorder-and-inorder-traversal
construct-binary-tree-from-preorder-and-inorder-traversal
count-primes
count-primes
counting-bits
counting-bits
course-schedule-ii
course-schedule-ii
course-schedule
course-schedule
decode-ways
decode-ways
deepest-leaves-sum
deepest-leaves-sum
delete-operation-for-two-strings
delete-operation-for-two-strings
edit-distance
edit-distance
excel-sheet-column-title
excel-sheet-column-title
fibonacci-number
fibonacci-number
find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree
find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree
find-first-and-last-position-of-element-in-sorted-array
find-first-and-last-position-of-element-in-sorted-array
find-the-duplicate-number
find-the-duplicate-number
first-missing-positive
first-missing-positive
gas-station
gas-station
generate-parentheses
generate-parentheses
house-robber-ii
house-robber-ii
house-robber
house-robber
integer-to-roman
integer-to-roman
interleaving-string
interleaving-string
is-graph-bipartite
is-graph-bipartite
jump-game
jump-game
k-closest-points-to-origin
k-closest-points-to-origin
kth-largest-element-in-an-array
kth-largest-element-in-an-array
largest-rectangle-in-histogram
largest-rectangle-in-histogram
letter-combinations-of-a-phone-number
letter-combinations-of-a-phone-number
longest-common-subsequence
longest-common-subsequence
longest-increasing-subsequence
longest-increasing-subsequence
longest-palindromic-subsequence
longest-palindromic-subsequence
longest-substring-without-repeating-characters
longest-substring-without-repeating-characters
lowest-common-ancestor-of-a-binary-tree
lowest-common-ancestor-of-a-binary-tree
lru-cache
lru-cache
majority-element
majority-element
maximum-binary-tree
maximum-binary-tree
maximum-product-subarray
maximum-product-subarray
maximum-profit-in-job-scheduling
maximum-profit-in-job-scheduling
maximum-subarray
maximum-subarray
meeting-rooms-ii
meeting-rooms-ii
merge-intervals
merge-intervals
merge-k-sorted-lists
merge-k-sorted-lists
merge-two-sorted-lists
merge-two-sorted-lists
minimum-deletions-to-make-character-frequencies-unique
minimum-deletions-to-make-character-frequencies-unique
minimum-insertion-steps-to-make-a-string-palindrome
minimum-insertion-steps-to-make-a-string-palindrome
minimum-remove-to-make-valid-parentheses
minimum-remove-to-make-valid-parentheses
monotone-increasing-digits
monotone-increasing-digits
multiply-strings
multiply-strings
n-queens-ii
n-queens-ii
n-queens
n-queens
n-th-tribonacci-number
n-th-tribonacci-number
next-permutation
next-permutation
number-of-islands
number-of-islands
odd-even-linked-list
odd-even-linked-list
palindrome-partitioning
palindrome-partitioning
partition-equal-subset-sum
partition-equal-subset-sum
pascals-triangle
pascals-triangle
path-sum
path-sum
permutations
permutations
populating-next-right-pointers-in-each-node-ii
populating-next-right-pointers-in-each-node-ii
populating-next-right-pointers-in-each-node
populating-next-right-pointers-in-each-node
View all files
Repository files navigation
README
More
items
Leetcode
Solved questions
About
Solved Leetcode Problems
Topics
dynamic-programming
leetcode
leetcode-solutions
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.