LeetCode-Solutions icon indicating copy to clipboard operation
LeetCode-Solutions copied to clipboard

This repository consists of solutions to the problem from LeetCode platform. Subscribe to our Channel for more updates

Results 198 LeetCode-Solutions issues
Sort by recently updated
recently updated
newest added

# 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...

[2115. Find All Possible Recipes from Given Supplies](https://leetcode.com/problems/find-all-possible-recipes-from-given-supplies/) You have information about n different recipes. You are given a string array recipes and a 2D string array ingredients. The ith...

# Pull Request Template ## Description We have given a string s. We have to perform the following process on s any number of times: Choose an index i in...

# Pull Request Template ## Description C++ solution for - [First Missing Positive](https://leetcode.com/problems/first-missing-positive/) ``` Time Complexity: O(N) Space Complexity: O(1) ``` ## Put check marks: ## Have you made changes...

https://leetcode.com/problems/surrounded-regions/

https://leetcode.com/problems/kth-smallest-element-in-a-bst/

…Problem: Balanced Binary Tree Check if a binary tree is height-balanced, meaning the heights of left and right subtrees of every node differ by at most 1. Approach: Bottom-up recursion...

This PR improves the Roman to Integer C++ solution by: 1. Adding algorithm explanation and inline comments 2.Including Time & Space complexity analysis 2.Improving formatting and readability This PR is...

# Issue Proposal: Roman to Integer (LeetCode Problem 13) ## Description I would like to contribute an optimized and efficient C++ solution for the problem [Roman to Integer](https://leetcode.com/problems/roman-to-integer/) (LeetCode Problem...