https://github.com/hunterdii/leetcode-potd
๐ Welcome to the vibrant world of Leetcode Daily Problem of the Day solutions! Dive into a treasure trove of daily challenges meticulously crafted to sharpen your problem-solving skills. With diverse topics, detailed explanations, and a supportive community, this repository is your gateway to mastering algorithms, data structures, and more!๐
https://github.com/hunterdii/leetcode-potd
c competitive-programming cpp daily-coding-problem dailyprogrammer dsa-algorithm good-first-issue java leetcode leetcode-c leetcode-cpp leetcode-java leetcode-python3 leetcode-rust leetcode-solutions leetcode-solutions-cpp leetcode-solutions-python python3 rust
Last synced: 3 months ago
JSON representation
๐ Welcome to the vibrant world of Leetcode Daily Problem of the Day solutions! Dive into a treasure trove of daily challenges meticulously crafted to sharpen your problem-solving skills. With diverse topics, detailed explanations, and a supportive community, this repository is your gateway to mastering algorithms, data structures, and more!๐
- Host: GitHub
- URL: https://github.com/hunterdii/leetcode-potd
- Owner: Hunterdii
- Created: 2024-11-18T03:00:45.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-12-18T14:31:21.000Z (7 months ago)
- Last Synced: 2025-03-28T02:39:03.705Z (3 months ago)
- Topics: c, competitive-programming, cpp, daily-coding-problem, dailyprogrammer, dsa-algorithm, good-first-issue, java, leetcode, leetcode-c, leetcode-cpp, leetcode-java, leetcode-python3, leetcode-rust, leetcode-solutions, leetcode-solutions-cpp, leetcode-solutions-python, python3, rust
- Language: Rust
- Homepage:
- Size: 248 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
GeeksforGeeks Problem of the Day Solutions 2024
![]()
## ๐ **December 2024 Problem of the Day Solutions** ๐| **Date** | **Problem Name** | **C** | **C++** | **Java** | **Python** | **Rust** |
|:---------:|:-----------------------------------------------:|:----------------------------------------------------------------------------------------------------------------------------------:|:---------------------------------------------------------------------------------------------------------------------------------:|:---------------------------------------------------------------------------------------------------------------------------------:|:----------------------------------------------------------------------------------------------------------------------------------:|:----------------------------------------------------------------------------------------------------------------------------------:|
| 01 Dec | Check If N and Its Double Exist ๐ขโ โ๏ธ | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/1346.Check%20If%20N%20and%20Its%20Double%20Exist.md#code-c) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/1346.Check%20If%20N%20and%20Its%20Double%20Exist.md#code-c-1) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/1346.Check%20If%20N%20and%20Its%20Double%20Exist.md#code-java) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/1346.Check%20If%20N%20and%20Its%20Double%20Exist.md#code-python) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/1346.Check%20If%20N%20and%20Its%20Double%20Exist.md#code-rust) |
| 02 Dec | Check If a Word Occurs As a Prefix of Any Word in a Sentence ๐ค๐๐ฌ | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/1455.Check%20If%20a%20Word%20Occurs%20As%20a%20Prefix%20of%20Any%20Word%20in%20a%20Sentence.md#code-c) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/1455.Check%20If%20a%20Word%20Occurs%20As%20a%20Prefix%20of%20Any%20Word%20in%20a%20Sentence.md#code-c-1) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/1455.Check%20If%20a%20Word%20Occurs%20As%20a%20Prefix%20of%20Any%20Word%20in%20a%20Sentence.md#code-java) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/1455.Check%20If%20a%20Word%20Occurs%20As%20a%20Prefix%20of%20Any%20Word%20in%20a%20Sentence.md#code-python) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/1455.Check%20If%20a%20Word%20Occurs%20As%20a%20Prefix%20of%20Any%20Word%20in%20a%20Sentence.md#code-rust) |
| 03 Dec | Adding Spaces to a String ๐คโ๏ธ๐ฌ | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2109.Adding%20Spaces%20to%20a%20String.md#code-c) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2109.Adding%20Spaces%20to%20a%20String.md#code-c-1) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2109.Adding%20Spaces%20to%20a%20String.md#code-java) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2109.Adding%20Spaces%20to%20a%20String.md#code-python) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2109.Adding%20Spaces%20to%20a%20String.md#code-rust) |
| 04 Dec | Make String a Subsequence Using Cyclic Increments ๐๐ โก๏ธ | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2825.Make%20String%20a%20Subsequence%20Using%20Cyclic%20Increments.md#code-c) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2825.Make%20String%20a%20Subsequence%20Using%20Cyclic%20Increments.md#code-c-1) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2825.Make%20String%20a%20Subsequence%20Using%20Cyclic%20Increments.md#code-java) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2825.Make%20String%20a%20Subsequence%20Using%20Cyclic%20Increments.md#code-python) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2825.Make%20String%20a%20Subsequence%20Using%20Cyclic%20Increments.md#code-rust) |
| 05 Dec | Move Pieces to Obtain a String โ๏ธโก๏ธ๐ค | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2337.Move%20Pieces%20to%20Obtain%20a%20String.md#code-c) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2337.Move%20Pieces%20to%20Obtain%20a%20String.md#code-c-1) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2337.Move%20Pieces%20to%20Obtain%20a%20String.md#code-java) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2337.Move%20Pieces%20to%20Obtain%20a%20String.md#code-python) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2337.Move%20Pieces%20to%20Obtain%20a%20String.md#code-rust) |
| 06 Dec | Maximum Number of Integers to Choose From a Range I ๐งฎ๐๐ฒ | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2554.Maximum%20Number%20of%20Integers%20to%20Choose%20From%20a%20Range%20I.md#code-c) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2554.Maximum%20Number%20of%20Integers%20to%20Choose%20From%20a%20Range%20I.md#code-c-1) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2554.Maximum%20Number%20of%20Integers%20to%20Choose%20From%20a%20Range%20I.md#code-java) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2554.Maximum%20Number%20of%20Integers%20to%20Choose%20From%20a%20Range%20I.md#code-python) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2554.Maximum%20Number%20of%20Integers%20to%20Choose%20From%20a%20Range%20I.md#code-rust) |
| 07 Dec | Minimum Limit of Balls in a Bag ๐โฝ๐ข | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/1760.Minimum%20Limit%20of%20Balls%20in%20a%20Bag.md#code-c) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/1760.Minimum%20Limit%20of%20Balls%20in%20a%20Bag.md#code-c-1) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/1760.Minimum%20Limit%20of%20Balls%20in%20a%20Bag.md#code-java) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/1760.Minimum%20Limit%20of%20Balls%20in%20a%20Bag.md#code-python) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/1760.Minimum%20Limit%20of%20Balls%20in%20a%20Bag.md#code-rust) |
| 08 Dec | Two Best Non-Overlapping Events ๐ ๐๐ผ | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2054.Two%20Best%20Non-Overlapping%20Events.md#code-c) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2054.Two%20Best%20Non-Overlapping%20Events.md#code-c-1) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2054.Two%20Best%20Non-Overlapping%20Events.md#code-java) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2054.Two%20Best%20Non-Overlapping%20Events.md#code-python) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2054.Two%20Best%20Non-Overlapping%20Events.md#code-rust) |
| 09 Dec | Special Array II ๐ข๐ฏ๐จโ๐ป | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/3152.Special%20Array%20II.md#code-c) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/3152.Special%20Array%20II.md#code-c-1) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/3152.Special%20Array%20II.md#code-java) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/3152.Special%20Array%20II.md#code-python) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/3152.Special%20Array%20II.md#code-rust) |
| 10 Dec | Find Longest Special Substring That Occurs Thrice I ๐๐กโจ | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2981.Find%20Longest%20Special%20Substring%20That%20Occurs%20Thrice%20I.md#code-c) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2981.Find%20Longest%20Special%20Substring%20That%20Occurs%20Thrice%20I.md#code-c-1) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2981.Find%20Longest%20Special%20Substring%20That%20Occurs%20Thrice%20I.md#code-java) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2981.Find%20Longest%20Special%20Substring%20That%20Occurs%20Thrice%20I.md#code-python) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2981.Find%20Longest%20Special%20Substring%20That%20Occurs%20Thrice%20I.md#code-rust) |
| 11 Dec | Maximum Beauty of an Array After Applying Operation ๐ข๐ช๐ง | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2779.Maximum%20Beauty%20of%20an%20Array%20After%20Applying%20Operation.md#code-c) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2779.Maximum%20Beauty%20of%20an%20Array%20After%20Applying%20Operation.md#code-c-1) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2779.Maximum%20Beauty%20of%20an%20Array%20After%20Applying%20Operation.md#code-java) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2779.Maximum%20Beauty%20of%20an%20Array%20After%20Applying%20Operation.md#code-python) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2779.Maximum%20Beauty%20of%20an%20Array%20After%20Applying%20Operation.md#code-rust) |
| 12 Dec | Take Gifts From the Richest Pile ๐๐๐ฐ | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2558.Take%20Gifts%20From%20the%20Richest%20Pile.md#code-c) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2558.Take%20Gifts%20From%20the%20Richest%20Pile.md#code-c-1) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2558.Take%20Gifts%20From%20the%20Richest%20Pile.md#code-java) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2558.Take%20Gifts%20From%20the%20Richest%20Pile.md#code-python) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2558.Take%20Gifts%20From%20the%20Richest%20Pile.md#code-rust) |
| 13 Dec | Find Score of an Array After Marking All Elements ๐งฎ๐ข๐ฏ | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2593.%20Find%20Score%20of%20an%20Array%20After%20Marking%20All%20Elements.md#code-c) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2593.%20Find%20Score%20of%20an%20Array%20After%20Marking%20All%20Elements.md#code-c-1) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2593.%20Find%20Score%20of%20an%20Array%20After%20Marking%20All%20Elements.md#code-java) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2593.%20Find%20Score%20of%20an%20Array%20After%20Marking%20All%20Elements.md#code-python) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2593.%20Find%20Score%20of%20an%20Array%20After%20Marking%20All%20Elements.md#code-rust) |
| 14 Dec | Continuous Subarrays ๐งฎ๐๐จโ๐ป | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2762.%20Continuous%20Subarrays.md#code-c) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2762.%20Continuous%20Subarrays.md#code-c-1) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2762.%20Continuous%20Subarrays.md#code-java) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2762.%20Continuous%20Subarrays.md#code-python) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/2762.%20Continuous%20Subarrays.md#code-rust) |
| 18 Dec | Final Prices With a Special Discount in a Shop๐๏ธ๐ธ๐ท๏ธ | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/1475.Final%20Prices%20With%20a%20Special%20Discount%20in%20a%20Shop.md#code-c) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/1475.Final%20Prices%20With%20a%20Special%20Discount%20in%20a%20Shop.md#code-c-1) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/1475.Final%20Prices%20With%20a%20Special%20Discount%20in%20a%20Shop.md#code-java) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/1475.Final%20Prices%20With%20a%20Special%20Discount%20in%20a%20Shop.md#code-python) | [Solution](https://github.com/Hunterdii/Leetcode-POTD/blob/main/December%202024%20Leetcode%20Solution/1475.Final%20Prices%20With%20a%20Special%20Discount%20in%20a%20Shop.md#code-rust) |[**Explore Solutions Here!**](https://github.com/Hunterdii/Leetcode-POTD/tree/main/November%202024%20Leetcode%20Solution)
![]()
๐ฅ Join the Conversation
If you have any questions, insights, or solutions to share, don't miss out on our active Discussion Hub! ๐ Your participation is what makes this community great.
![]()
## ๐ก **Why Follow This Repository?**
- **๐๏ธโโ๏ธ Daily Practice:** Tackle a new problem every day and sharpen your problem-solving skills.
- **๐ง Diverse Topics:** Master algorithms, data structures, dynamic programming, and more.
- **๐ค Community Collaboration:** Discuss and improve solutions together for mutual growth.
- **๐ Solution Explanations:** Each problem comes with clear, well-documented solutions to aid your learning.## ๐ **How To Use This Repository**
1. **๐ Navigate Effortlessly:** Problems are sorted by date for easy access.
2. **๐ Study Explanations:** Grasp the core logic behind each solution.
3. **๐ญ Experiment & Practice:** Modify solutions or try implementing them in other languages.
4. **๐ฌ Engage & Collaborate:** Connect with the community to gain deeper insights.## ๐ **Languages Used**
- [](https://github.com/search?q=repo%3AHunterdii%2FLeetcode-POTD++language%3AC%2B%2B&type=code)
- [](https://github.com/search?q=repo%3AHunterdii%2FLeetcode-POTD++language%3AJava&type=code)
- [](https://github.com/search?q=repo%3AHunterdii%2FLeetcode-POTD++language%3APython&type=code)
- [](https://github.com/search?q=repo%3AHunterdii%2FLeetcode-POTD++language%3AC&type=code)
- [](https://github.com/search?q=repo%3AHunterdii%2FLeetcode-POTD++language%3ARust&type=code)## ๐ค **Contribution Guidelines**
We โค๏ธ contributions! Here's how you can contribute:
1. **Fork** this repository.
2. **Create** a new branch for your feature or bug fix.
3. **Commit** your changes with a clear message.
4. **Submit** a pull request and weโll review it together!> **Note:** Follow our coding style and include meaningful comments.
## ๐ **Your Star Counts!**
๐ *If this repository helps you, don't forget to* **star it**! ๐[](https://github.com/codespaces/new?hide_repo_select=true&ref=main&repo=769514979&machine=basicLinux32gb&location=?)
## ๐ค Creator
|  |
|:--:|
| **Het Patel**
Project Maintainer |
| [](https://www.linkedin.com/in/patel-hetkumar-sandipbhai-8b110525a/) [](mailto:[email protected]) |For any inquiries or feedback, please contact. Happy Contributingโค
> Shaping solutions every dayโthanks to everyone contributing to **Leetcode-POTD! ๐**
## ๐ Star Geographical Distribution
This map shows the global distribution of stars for the repository. Click to explore more details.
![]()
See the geographical spread of stars on the map above!
## ๐ **Achievements & Highlights**
- **๐ Global Reach**: Engaging with coders worldwide, from beginners to experts.
- **๐ฅ Trending Topics**: Problems that sharpen your data structures and algorithms skills.
![]()
Ready to Level Up Your Coding Skills? Give This Repo a Star!
Your support fuels the journey. A star not only motivates but keeps the commitment alive. Letโs make coding collaborative and fun!**โจ Happy Coding!**