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 for Swap Nodes in Pairs Description This PR adds the solution for the problem “Swap Nodes in Pairs”. The approach uses an iterative method with a dummy node,...

Description I would like to contribute an optimized and efficient C++ solution for the problem [House Robber](https://leetcode.com/problems/house-robber/) (LeetCode Problem 198). Plan of Contribution • Implement all three approaches in a...

## 🎯 Beginner Examples Request ### Description It would be great to have more beginner-friendly examples in the project. ### Suggested additions: - Simple "Hello World" examples - Step-by-step tutorials...

## 🎯 Beginner Examples Request ### Description It would be great to have more beginner-friendly examples in the project. ### Suggested additions: - Simple "Hello World" examples - Step-by-step tutorials...

## Description **Problem:** Convert a Roman numeral string into its corresponding integer value. **Approach:** 1. Store Roman numeral values in an `unordered_map`. 2. Traverse the string from right to left....

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

🔢 Added C++ solution for LeetCode Problem 13: Roman to Integer - Used unordered_map for Roman numeral values - Traversed string from right to left - Time Complexity: O(n), Space...

# Pull Request Template ## Description This PR adds a TDD-based solution for the LeetCode problem #8, "String to Integer (atoi)", implemented in Python. The solution iteratively processes the string,...