LeetCode-Solutions
LeetCode-Solutions copied to clipboard
This repository consists of solutions to the problem from LeetCode platform. Subscribe to our Channel for more updates
# Pull Request Template ## Description The description of the code has been mentioned in that itself using comments ## Put check marks: ## Have you made changes in [README](https://github.com/codedecks-in/LeetCode-Solutions/blob/master/README.md)...
# Pull Request Template ## Description Solution to the House Robber 3 question on leetcode. Interesting Tree DP problem **Problem:** Find the maximum possible sum of non-adjacent nodes **Approach:** Recursive...
# Pull Request Template ## Description **Problem:** Find sum of distances of a node from all other nodes. **Link:** [Sum of distances in Tree](https://leetcode.com/problems/sum-of-distances-in-tree/) **Approach:** By applying Re-rooting technique, standard...
# Pull Request Template ## Description Please include a summary of the problem and about the approach to solve the solution. Please also include relevant motivation and context. List any...
# Pull Request Template ## Description Please include a summary of the problem and about the approach to solve the solution. Please also include relevant motivation and context. List any...
# Pull Request Template ## Description Please include a summary of the problem and about the approach to solve the solution. Please also include relevant motivation and context. List any...
# Pull Request Template ## Description Please include a summary of the problem and about the approach to solve the solution. Please also include relevant motivation and context. List any...
A very classical problem of DP. # Pull Request Template ## Description Please include a summary of the problem and about the approach to solve the solution. Please also include...
I have added palindrome number solution in cpp and has also provided the approach to solve the question. # Pull Request Template ## Description Please include a summary of the...
Added the leetcode problem in python language. ## Description Q- Given an m x n grid of characters board and a string word, return true if word exists in the...