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

What’s improved? Added clear step-by-step explanation for both Two-Pass and Single-Pass hash map approaches Included a beginner-friendly example to show how the logic works Improved code readability with proper comments...

# Pull Request: Add LeetCode Solution for Issue #194 ## Description This pull request adds a new solution as part of the beginner-friendly task “Submit your first PR by solving...

# Pull Request: Add BFS Solution for LeetCode 102 – Binary Tree Level Order Traversal ## Description This pull request adds a BFS-based solution for **LeetCode Problem 102: Binary Tree...

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

### Two Sum **Problem:** Given an array of integers `nums` and an integer `target`, return indices of the two numbers such that they add up to target. **Approach:** Use a...

This Pull Request adds two hard-level recursion problems from LeetCode, implemented in C++ with clear explanations, optimized recursion logic, and tested outputs. 1. Regular Expression Matching (LeetCode #10) Problem Summary:...

Minimum Spanning Tree (MST is one of the rather harder graph topics yet is quiet common as a learning outcome for most CS/IT professionals. LeetCode has 6 problems on MST,of...

# 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 2sum solution in C++ I have added 2sum questions solution of Leetcode --> Q1 Time complexity = O(log N) I will contribute more solutions of leetcode in future...

## Description Add a C++ solution for **LeetCode 420 – Strong Password Checker**. **Problem:** https://leetcode.com/problems/strong-password-checker/ **Language:** C++ **File path:** `C++/420-strong-password-checker.cpp` **Approach (summary):** - Count missing character classes (lowercase / uppercase...