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
Leet Code 72 https://leetcode.com/problems/edit-distance/ # Pull Request Template ## Description https://leetcode.com/problems/edit-distance/ Please include a summary of the problem and about the approach to solve the solution. Please also include relevant...
Putting code in C++ for problem 42.trapping-rain-water problem 1) For every element we can precalculate and store the highest bar on the left and on the right (say stored in...
hey! i am looking forward to add my first contribution so can you please assign me a leetcode problem ?
# 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 Implementing Linked List cycle to check if there any cycles in the Linked List ## Put check marks: ## Have you made changes in...
# 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 1.It iterates through the array in reverse order (from the end to the beginning) and maintains a stack to keep track of potential candidates...
## Description The idea is to reach the last node of the linked list using recursion then start reversing the linked list. ## Put check marks: ## Have you made...
# 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...
It was the daily problem on 29th oct Problem: There are buckets buckets of liquid, where exactly one of the buckets is poisonous. To figure out which one is poisonous,...