LeetCode-Solutions
LeetCode-Solutions copied to clipboard
Add leetcode solution 194
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 a Leetcode problem” (Issue #194).
- Problem Solved: <Your Problem Name>
- Approach Used: <Approach>
- Language: C++ / Python / Java / JS (choose yours)
Put check marks:
- [x] Added problem & solution under correct topic.
- [x] Specified Space & Time complexity.
- [x] Difficulty level, tags & notes added.
How Has This Been Tested?
- [x] Tested with sample inputs.
- [x] Verified on LeetCode online judge.
Guidelines Followed:
- [x] Code follows project style.
- [x] Self-reviewed.
- [x] Proper comments added.
- [x] No new warnings introduced.
Closes #194