Skip to content

Welcome to the vibrant world of GeeksforGeeks 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.

License

Notifications You must be signed in to change notification settings

JasonHunts/GeeksforGeeks-POTD

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Star GIF GeeksforGeeks Problem of the Day Solutions 2024 Star GIF

📅 January 2024 Problem of the Day Solutions 📅

Smart AI Resume Analyzer

Support Rust Learning

Date Problem Name C C++ Java Python
01 Jan Print Anagrams Together 🔡👥🤝 Solution Solution Solution
02 Jan Subarrays with sum K 🔢➕🎯 Solution Solution Solution
03 Jan Count Subarrays with given XOR 💻🔢🧮 Solution Solution Solution
04 Jan Count all triplets with given sum in sorted array 🔢🔽🔍 Solution Solution Solution
05 Jan Count Pairs whose sum is less than target 👫🔢👨‍💻 Solution Solution Solution
06 Jan Sum Pair closest to target 🎯💡🔢 Solution Solution Solution
07 Jan Pair with given sum in a sorted array 🔢🧮✅ Solution Solution Solution
08 Jan Count the number of possible triangles 📐📏🧮 Solution Solution Solution Solution
09 Jan Indexes of Subarray Sum 📊📐🔍 Solution Solution Solution
10 Jan Count distinct elements in every window 🔢🎯📈 Solution Solution Solution
11 Jan Longest substring with distinct characters 🧵🔤🧠 Solution Solution Solution
12 Jan Trapping Rain Water 🌧️💧🏞️ Solution Solution Solution
13 Jan Container With Most Water📦🌊📐 Solution Solution Solution
14 Jan Equilibrium Point ⚖️🔍🧮 Solution Solution Solution
15 Jan Longest Subarray with Sum K 🌟🔍🛠️ Solution Solution Solution
16 Jan Largest subarray of 0's and 1's 🔢➕🔴 Solution Solution Solution
17 Jan Product array puzzle🧩📦✖ Solution Solution Solution

➕ GFG 160 Days of Problem Solving (Prefix Sum) ➕

Day Problem Name C C++ Java Python
Day 1 Equilibrium Point ⚖️🔍🧮 Solution Solution Solution
Day 2 Longest Subarray with Sum K 🌟🔍🛠️ Solution Solution Solution
Day 3 Largest subarray of 0's and 1's 🔢➕🔴 Solution Solution Solution
Day 4 Product array puzzle🧩📦✖ Solution Solution Solution

📂 Solved Questions and Bonus Problems

✨ Previously Solved Questions

(Click to expand)

🔢 GFG 160 Days of Problem Solving (Arrays 1–13) 🔢

Day Problem Name C C++ Java Python
Day 1 Second Largest 🔥🥈📈 Solution Solution Solution
Day 2 Move All Zeroes to End 🔥➡️⚡ Solution Solution Solution
Day 3 Reverse an Array 🌀🔁💻 Solution Solution Solution Solution
Day 4 Rotate Array 🔄📚🧑‍💻 Solution Solution Solution Solution
Day 5 Next Permutation 🔢➡️🔀 Solution Solution Solution Solution
Day 6 Majority Element II 🗳️📊✅ Solution Solution Solution Solution
Day 7 Stock Buy and Sell – Multiple Transaction Allowed 💹💼💸 Solution Solution Solution Solution
Day 8 Stock Buy and Sell – Max one Transaction Allowed 📈💰🛒 Solution Solution Solution Solution
Day 9 Minimize the Heights I 📉🏰🔧 Solution Solution Solution
Day 10 Kadane's Algorithm 💡📊🔢 Solution Solution Solution Solution
Day 11 Maximum Product Subarray 🔢➗🎯 Solution Solution Solution Solution
Day 12 Max Circular Subarray Sum 🔄🎯🌀 Solution Solution Solution Solution
Day 13 Smallest Positive Missing Number 🔢❓🔍 Solution Solution Solution Solution

🔠 GFG 160 Days of Problem Solving (Strings) 🔠

Day Problem Name C C++ Java Python
Day 1 Implement Atoi ⚙️🔑🧑‍🔬 Solution Solution Solution Solution
Day 2 Add Binary Strings 🔢➕💻 Solution Solution Solution
Day 3 Anagram 🔠💡🤔 Solution Solution Solution Solution
Day 4 Non-Repeating Character🔢📝💭 Solution Solution Solution Solution
Day 5 Search Pattern (KMP Algorithm) 📚🔍🧠 Solution Solution Solution Solution
Day 6 Min Chars to Add for Palindrome ✂️💬🔠 Solution Solution Solution Solution
Day 7 Strings Rotations of Each Other 🔄🔠🌀 Solution Solution Solution Solution

🔀 GFG 160 Days of Problem Solving (Sorting) 🔀

Day Problem Name C C++ Java Python
Day 1 Sort 0s, 1s, and 2s 🚦🔢🎨 Solution Solution Solution Solution
Day 2 Find H-Index 📚📊🔍 Solution Solution Solution Solution
Day 3 Count Inversions 🔄📊🔢 Solution Solution Solution Solution
Day 4 Overlapping Intervals 📅⏰🔁 Solution Solution Solution Solution
Day 5 Insert Interval 📝🔲⏳ Solution Solution Solution Solution
Day 6 Non-overlapping Intervals✂️🔗✅ Solution Solution Solution Solution
Day 7 Merge Without Extra Space 📂🚫📦 Solution Solution Solution Solution

👀 GFG 160 Days of Problem Solving (Searching) 👀

Day Problem Name C C++ Java Python
Day 1 Number of occurrence 🧮📂📍 Solution Solution Solution Solution
Day 2 Sorted and Rotated Minimum 🔢🔄🌐 Solution Solution Solution Solution
Day 3 Search in Rotated Sorted Array 🔍📐🔑 Solution Solution Solution
Day 4 Peak element 🌄🔝⛰️ Solution Solution Solution Solution
Day 5 K-th element of two Arrays 🔢🔍🎯 Solution Solution Solution Solution
Day 6 Aggressive Cows 🐄🚜🐮 Solution Solution Solution
Day 7 Allocate Minimum Pages 📚📖📏 Solution Solution Solution
Day 8 Kth Missing Positive Number in a Sorted Array 🔢➡️❓ Solution Solution Solution Solution

📐 GFG 160 Days of Problem Solving (Matrix) 📐

Day Problem Name C C++ Java Python
Day 1 Spirally traversing a matrix 🌀🔢🔄 Solution Solution Solution Solution
Day 2 Rotate by 90 degree 📐↩️🏛️ Solution Solution Solution Solution
Day 3 Search in a Row-Column sorted matrix 🔍🔢📉 Solution Solution Solution
Day 4 Search in a row-wise sorted matrix 📋🔍✅ Solution Solution Solution
Day 5 Search in a sorted Matrix 🔍🧮📈 Solution Solution Solution
Day 6 Set Matrix Zeroes 🟦⬜🔢 Solution Solution Solution

🔒 GFG 160 Days of Problem Solving (Hashing) 🔒

Day Problem Name C C++ Java Python
Day 1 Two Sum - Pair with Given Sum ➕🔢🧩 Solution Solution Solution
Day 2 Count pairs with given sum 🔢🧮🛠️ Solution Solution Solution Solution
Day 3 Find All Triplets with Zero Sum 🔢🔍🎯 Solution Solution Solution
Day 4 Intersection of Two arrays with Duplicate Elements 🔄📤📑 Solution Solution Solution
Day 5 Union of Arrays with Duplicates 📚📦📑 Solution Solution Solution
Day 6 Longest Consecutive Subsequence 🏃‍♂⏳🎯 Solution Solution Solution
Day 7 Print Anagrams Together 🔡👥🤝 Solution Solution Solution
Day 8 Subarrays with sum K 🔢➕🎯 Solution Solution Solution
Day 9 Count Subarrays with given XOR 💻🔢🧮 Solution Solution Solution

👫 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 Solution Solution
Day 2 Count Pairs whose sum is less than target 👫🔢👨‍💻 Solution Solution Solution
Day 3 Sum Pair closest to target 🎯💡🔢 Solution Solution Solution
Day 4 Pair with given sum in a sorted array 🔢🧮✅ Solution Solution Solution
Day 5 Count the number of possible triangles 📐📏🧮 Solution Solution Solution Solution
Day 6 Indexes of Subarray Sum 📊📐🔍 Solution Solution Solution
Day 7 Count distinct elements in every window 🔢🎯📈 Solution Solution Solution
Day 8 Longest substring with distinct characters 🧵🔤🧠 Solution Solution Solution
Day 9 Trapping Rain Water 🌧️💧🏞️ Solution Solution Solution
Day 10 Container With Most Water📦🌊📐 Solution Solution Solution

🎁 Previously Solved Bonus Problem

(Click to expand)

🎉 Bonus Problems (Arrays)🎁

Bonus Problem No. Problem Name C 🖥️ C++ 🚀 Java Python 🐍
NUM 1 Split Array in Three Equal Sum Subarrays 💥📊🔢 Solution Solution Solution
NUM 2 Repetitive Addition of Digits 🔢🔄💥 Solution Solution Solution
NUM 3 Maximize Number of 1's 🔢🔥💡 Solution Solution Solution
NUM 4 Last Moment Before All Ants Fall Out of a Plank 🐜🌍⏳ Solution Solution Solution

🎉 Bonus Problems (Strings)🎁

Bonus Problem No. Problem Name C 🖥️ C++ 🚀 Java Python 🐍
NUM 1 Fizz Buzz 🧮🎉🔢 Solution Solution Solution
NUM 2 CamelCase Pattern Matching 🐫🔠💻 Solution Solution Solution
NUM 3 Palindrome Sentence 🔄🗣️📜 Solution Solution Solution
NUM 4 Minimum repeat to make substring 🔁📏🔤 Solution Solution Solution
NUM 5 Longest Prefix Suffix 🔍✂️🔗 Solution Solution Solution
NUM 6 Integer to Words 1️⃣🔠📚 Solution Solution Solution

🎉 Bonus Problems (Sorting)🎁

Bonus Problem No. Problem Name C 🖥️ C++ 🚀 Java Python 🐍
NUM 1 Minimum sum 💡➕💰 Solution Solution Solution
NUM 2 Meeting Rooms 📅🏢⏰ Solution Solution Solution
NUM 3 Form the Largest Number 🔢🎯💯 Solution Solution Solution
NUM 4 Make array elements unique 🧮🔢🔀 Solution Solution Solution

🎉 Bonus Problems (Searching)🎁

Bonus Problem No. Problem Name C 🖥️ C++ 🚀 Java Python 🐍
NUM 1 Implement Lower Bound 📏🔍📊 Solution Solution Solution
NUM 2 Bitonic Point ⛰️🔀📍 Solution Solution Solution
NUM 3 Median of 2 Sorted Arrays of Different Sizes 📊🔢⚖️ Solution Solution Solution
NUM 4 Square Root 🔢➗🔲 Solution Solution Solution Solution
NUM 5 Koko Eating Bananas 🍌🐒⏳ Solution Solution Solution
NUM 6 Minimum Days to Make M Bouquets 🌸⏳💐 Solution Solution Solution

🚀 Welcome to Our Coding Community! 🚀

🌱 Dive into GeeksforGeeks Problem of the Day Solutions and level up your coding skills!

Visitor Count

GeeksforGeeks POTD Banner

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

Discussion Badge

🌟 Smart AI Resume Analyzer - Final Year Project 🌟

Hello, GeeksforGeeks GitHub community! 🚀

This project is my final year endeavor where I have implemented a basic AI-powered resume analyzer using Streamlit. It's not perfect, but it's a step towards creating a smarter way to evaluate resumes in real-time.

But here's the best part — we need your support to make this tool even smarter and more efficient! 💪 Whether you're contributing new features, fixing bugs, or improving the user experience, your involvement can significantly shape the future of resume analysis.

🔧 How can you contribute?

  • Star the repository to show your support.
  • 📘 Contribute to the project by adding new features(the functionality with your ideas) or fixing issues.
  • 🌍 Spread the word through social media and developer communities.
  • 🔗 Share feedback to make the tool more effective for users!
  • 🐛 Report bugs or suggest improvements to better the project.

Together, let’s create a seamless AI-powered solution for handling resumes. 🚀

Support Smart AI Resume Analyzer & Shape the Future of Technology! 🤖

Smart AI Resume Analyzer

🚀 Join the Rust Revolution! 🚀

Hello, GeeksforGeeks community! 🌟

Looking to dive into Rust, one of the fastest-growing languages for systems programming? 30 Days of Rust is your perfect starting point! From basics to advanced concepts, this repository is designed to provide you with practical, hands-on learning.

But here's the best part — we need your support to make this resource even bigger and better! 💪 Whether you are a beginner or an experienced developer, your contributions can help grow this community.

🔧 What can you do to help?

  • Star the repository to show your interest.
  • 📚 Contribute to the learning resources or improve existing content.
  • 🌐 Share the project with fellow developers to expand the learning network.
  • 🔗 Spread the word to get more developers involved!

Together, we can empower the next generation of developers and make Rust a language of choice for high-performance applications. 🚀

Support Rust Learning & Contribute to the Future of Programming!

Rust Learning

💡 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

  • C++
  • Java
  • Python
  • C

🤝 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! 🌟

Open in GitHub Codespaces

Open in Codeanywhere

👤 Creator

Het Patel
Het Patel
Project Maintainer
LinkedIn Gmail

For any inquiries or feedback, please contact. Happy Contributing❤

Our Contributors

Thank you for contributing to our repository

Contributors

Shaping solutions every day—thanks to everyone contributing to GeeksforGeeks-POTD! 🚀

Star Geographical Distribution

This map shows the global distribution of stars for the repository. Click to explore more details.

Star Geographical Distribution of GeeksforGeeks-POTD

Star GIF See the geographical spread of stars on the map above! Star GIF

Achievements & Highlights

  • 🌐 Global Reach: Engaging with coders worldwide, from beginners to experts.
  • 🔥 Trending Topics: Problems that sharpen your data structures and algorithms skills.

Star GIF 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!

About

Welcome to the vibrant world of GeeksforGeeks 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.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 37.7%
  • C++ 32.6%
  • Python 25.2%
  • C 4.5%