# 160 Days of Problem Solving 🔥

Welcome to **160 Days of Problem Solving**, where we conquer one challenging problem at a time! 🌟 This repository is a treasure trove of daily coding solutions for GFG problems, with multiple language support including **C**, **C++**, **Java**, and **Python**.

## **📌 Table of Contents**

* [🚀 Introduction](#-introduction)
* [📊 Progress Overview](#-progress-overview)
* [📅 Day-wise Problem List](#-day-wise-problem-list)
* [🤝 Contributing](#-contributing)
* [🏆 Acknowledgements](#-acknowledgements)

## **🚀 Introduction**

This repository is your companion for 160 days of consistent problem-solving, focusing on core **data structures** and **algorithms**. Each problem is thoughtfully solved and documented in four popular programming languages.

## 🚀 **Languages Used**

* [![C++](https://img.shields.io/badge/c++-%2300599C.svg?style=for-the-badge\&logo=c%2B%2B\&logoColor=white)](https://github.com/search?q=repo%3AHunterdii%2FGeeksforGeeks-POTD++language%3Acpp+path%3ANovember+2024+GFG+SOLUTION\&type=code)
* [![Java](https://img.shields.io/badge/java-%23ED8B00.svg?style=for-the-badge\&logo=java\&logoColor=white)](https://github.com/search?q=repo%3AHunterdii%2FGeeksforGeeks-POTD++language%3AJava+path%3ANovember+2024+GFG+SOLUTION\&type=code)
* [![Python](https://img.shields.io/badge/python-3670A0?style=for-the-badge\&logo=python\&logoColor=ffdd54)](https://github.com/search?q=repo%3AHunterdii%2FGeeksforGeeks-POTD++language%3APython+path%3ANovember+2024+GFG+SOLUTION\&type=code)
* [![C](https://img.shields.io/badge/c-%2300599C.svg?style=for-the-badge\&logo=c\&logoColor=white)](https://github.com/search?q=repo%3AHunterdii%2FGeeksforGeeks-POTD++language%3Ac+path%3ANovember+2024+GFG+SOLUTION\&type=code)

Whether you're a beginner or looking to sharpen your skills, these solutions will guide you through structured problem-solving.

## **📊 Progress Overview**

> **Completed**: 60/160 Problems 🎉\
> **In Progress**: 100 Problems ⏳\
> **Target**: Solve all 160 problems! 🏆

## **📅 Day-wise Problem List**

## **👫 GFG 160 Days of Problem Solving (Two Pointer Technique) 👫**

|   **Day**  |                     **Problem Name**                     |                                                                 **C**                                                                 |                                                                      **C++**                                                                     |                                                                       **Java**                                                                      |                                                                       **Python**                                                                      |
| :--------: | :------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------: |
|  **Day 1** | Count all triplets with given sum in sorted array 🔢🔽🔍 |                                                                                                                                       | [Solution](https://hunterdii.gitbook.io/gfg-solution/160-days-of-problem-solving/day-1-count-all-triplets-with-given-sum-in-sorted-array#code-c) | [Solution](https://hunterdii.gitbook.io/gfg-solution/160-days-of-problem-solving/day-1-count-all-triplets-with-given-sum-in-sorted-array#code-java) | [Solution](https://hunterdii.gitbook.io/gfg-solution/160-days-of-problem-solving/day-1-count-all-triplets-with-given-sum-in-sorted-array#code-python) |
|  **Day 2** |    Count Pairs whose sum is less than target 👫🔢👨‍💻   |                                                                                                                                       |     [Solution](https://hunterdii.gitbook.io/gfg-solution/160-days-of-problem-solving/day-2-count-pairs-whose-sum-is-less-than-target#code-c)     |     [Solution](https://hunterdii.gitbook.io/gfg-solution/160-days-of-problem-solving/day-2-count-pairs-whose-sum-is-less-than-target#code-java)     |     [Solution](https://hunterdii.gitbook.io/gfg-solution/160-days-of-problem-solving/day-2-count-pairs-whose-sum-is-less-than-target#code-python)     |
|  **Day 3** |             Sum Pair closest to target 🎯💡🔢            |                                                                                                                                       |             [Solution](https://hunterdii.gitbook.io/gfg-solution/160-days-of-problem-solving/day-3-sum-pair-closest-to-target#code-c)            |             [Solution](https://hunterdii.gitbook.io/gfg-solution/160-days-of-problem-solving/day-3-sum-pair-closest-to-target#code-java)            |             [Solution](https://hunterdii.gitbook.io/gfg-solution/160-days-of-problem-solving/day-3-sum-pair-closest-to-target#code-python)            |
|  **Day 4** |        Pair with given sum in a sorted array 🔢🧮✅       |                                                                                                                                       |       [Solution](https://hunterdii.gitbook.io/gfg-solution/160-days-of-problem-solving/day-4-pair-with-given-sum-in-a-sorted-array#code-c)       |       [Solution](https://hunterdii.gitbook.io/gfg-solution/160-days-of-problem-solving/day-4-pair-with-given-sum-in-a-sorted-array#code-java)       |       [Solution](https://hunterdii.gitbook.io/gfg-solution/160-days-of-problem-solving/day-4-pair-with-given-sum-in-a-sorted-array#code-python)       |
|  **Day 5** |       Count the number of possible triangles 📐📏🧮      | [Solution](https://hunterdii.gitbook.io/gfg-solution/160-days-of-problem-solving/day-5-count-the-number-of-possible-triangles#code-c) |      [Solution](https://hunterdii.gitbook.io/gfg-solution/160-days-of-problem-solving/day-5-count-the-number-of-possible-triangles#code-c-1)     |       [Solution](https://hunterdii.gitbook.io/gfg-solution/160-days-of-problem-solving/day-5-count-the-number-of-possible-triangles#code-java)      |       [Solution](https://hunterdii.gitbook.io/gfg-solution/160-days-of-problem-solving/day-5-count-the-number-of-possible-triangles#code-python)      |
|  **Day 6** |              Indexes of Subarray Sum 📊📐🔍              |                                                                                                                                       |              [Solution](https://hunterdii.gitbook.io/gfg-solution/160-days-of-problem-solving/day-6-indexes-of-subarray-sum#code-c)              |              [Solution](https://hunterdii.gitbook.io/gfg-solution/160-days-of-problem-solving/day-6-indexes-of-subarray-sum#code-java)              |              [Solution](https://hunterdii.gitbook.io/gfg-solution/160-days-of-problem-solving/day-6-indexes-of-subarray-sum#code-python)              |
|  **Day 7** |      Count distinct elements in every window 🔢🎯📈      |                                                                                                                                       |      [Solution](https://hunterdii.gitbook.io/gfg-solution/160-days-of-problem-solving/day-7-count-distinct-elements-in-every-window#code-c)      |      [Solution](https://hunterdii.gitbook.io/gfg-solution/160-days-of-problem-solving/day-7-count-distinct-elements-in-every-window#code-java)      |      [Solution](https://hunterdii.gitbook.io/gfg-solution/160-days-of-problem-solving/day-7-count-distinct-elements-in-every-window#code-python)      |
|  **Day 8** |     Longest substring with distinct characters 🧵🔤🧠    |                                                                                                                                       |     [Solution](https://hunterdii.gitbook.io/gfg-solution/160-days-of-problem-solving/day-8-longest-substring-with-distinct-characters#code-c)    |     [Solution](https://hunterdii.gitbook.io/gfg-solution/160-days-of-problem-solving/day-8-longest-substring-with-distinct-characters#code-java)    |     [Solution](https://hunterdii.gitbook.io/gfg-solution/160-days-of-problem-solving/day-8-longest-substring-with-distinct-characters#code-python)    |
|  **Day 9** |               Trapping Rain Water 🌧️💧🏞️               |                                                                                                                                       |                [Solution](https://hunterdii.gitbook.io/gfg-solution/160-days-of-problem-solving/day-9-trapping-rain-water#code-c)                |                [Solution](https://hunterdii.gitbook.io/gfg-solution/160-days-of-problem-solving/day-9-trapping-rain-water#code-java)                |                [Solution](https://hunterdii.gitbook.io/gfg-solution/160-days-of-problem-solving/day-9-trapping-rain-water#code-python)                |
| **Day 10** |              Container With Most Water📦🌊📐             |                                                                                                                                       |             [Solution](https://hunterdii.gitbook.io/gfg-solution/160-days-of-problem-solving/day-10-container-with-most-water#code-c)            |             [Solution](https://hunterdii.gitbook.io/gfg-solution/160-days-of-problem-solving/day-10-container-with-most-water#code-java)            |             [Solution](https://hunterdii.gitbook.io/gfg-solution/160-days-of-problem-solving/day-10-container-with-most-water#code-python)            |

## **🤝 Contributing**

Want to contribute? 🌟 Here's how:

1. Fork the repository and create a *pull request* with a new solution.
2. Solve a problem or improve existing code/documentation.
3. Share this repo with others, and encourage them to star it for support!
4. Discuss issues and share tips by opening an issue or using the Discussions tab.

## **🏆 Acknowledgements**

This repository is maintained with ![](https://github.com/user-attachments/assets/00314b63-96bb-4e9a-92f6-4ead67e0fb7d) by **Hunterdii**. Special thanks to all contributors and supporters for making this journey possible!

**Special thanks to the&#x20;*****GeeksforGeeks*****&#x20;community for providing such an amazing set of problems to work on. Without their platform, this wouldn't have been possible. 🧑‍💻**

![Star GIF](https://github.com/user-attachments/assets/35f6838c-52f5-4e48-8a98-c5203f8c57e3) **Don't forget to** [**star this repository**](https://github.com/Hunterdii/GeeksforGeeks-POTD) **to stay updated!** ![Star GIF](https://github.com/user-attachments/assets/35f6838c-52f5-4e48-8a98-c5203f8c57e3)

***

#### 📍Visitor Count

<div align="center"><img src="https://visitor-badge.laobi.icu/badge?page_id=Hunterdii.GeeksforGeeks-POTD" alt=""></div>
