Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2,930 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Star GIF GeeksforGeeks Problem of the Day Solutions 2024 Star GIF

🚀 My Open-Source Projects

Date Problem Name C C++ Java Python
01 Apr DFS of Graph 🌐🔍🌲 Solution Solution Solution
Day Problem Name C C++ Java Python
Day 1 Minimum Platforms 🚉🚆⏳ Solution Solution Solution

📂 Solved Questions and Bonus Problems

✨ Previously Solved Questions

(Click to expand)
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
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
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
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
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
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
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
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
Day Problem Name C C++ Java Python
Day 1 Reverse a linked list 🔄🔗↔️ Solution Solution Solution
Day 2 Rotate a Linked List 🚀🔄💫 Solution Solution Solution
Day 3 Merge two sorted linked lists 🔗➕📚 Solution Solution Solution Solution
Day 4 Linked List Group Reverse 🔗🔄🌀 Solution Solution Solution
Day 5 Add Number Linked Lists ➕🔗🚀 Solution Solution Solution
Day 6 Clone List with Next and Random 🔗📋🤔 Solution Solution Solution
Day 7 Detect Loop in linked list 🔗🐍🚦 Solution Solution Solution
Day 8 Find the first node of loop in linked list 🔗🔁🛑 Solution Solution Solution
Day 9 Remove loop in Linked List 🔗🚫📃 Solution Solution Solution
Day 10 LRU Cache 🔗📤💾 Solution Solution Solution
Day Problem Name C C++ Java Python
Day 1 Permutations of a String 🔠🔄🧩 Solution Solution Solution
Day 2 Implement Pow ⚡🔢🚀 Solution Solution Solution
Day 3 N-Queen Problem 👑♟️🔢 Solution Solution Solution
Day 4 Solve the Sudoku 🧩📝🎯 Solution Solution Solution
Day 5 Word Search📖🔠🔎 Solution Solution Solution
Day Problem Name C C++ Java Python
Day 1 Level order traversal 🌳📤📈 Solution Solution Solution
Day 2 Height of Binary Tree 🌲📏🪵 Solution Solution Solution Solution
Day 3 Diameter of a Binary Tree 🌳📏🔄 Solution Solution Solution Solution
Day 4 Mirror Tree 🌳🪞📌 Solution Solution Solution Solution
Day 5 Construct Tree from Inorder & Preorder 🌳🔀📜 Solution Solution Solution
Day 6 Inorder Traversal 🌳➡️📄 Solution Solution Solution Solution
Day 7 Tree Boundary Traversal 🌳📐🌿 Solution Solution Solution
Day 8 Maximum path sum from any node 🌳🛤️🔼 Solution Solution Solution
Day 9 K Sum Paths 🌳🛤️🔍 Solution Solution Solution
Day 10 Check for BST 🌳✅🔍 Solution Solution Solution
Day 11 k-th Smallest in BST 🌳🔢🗂️ Solution Solution Solution Solution
Day 12 Pair Sum in BST.md 🌳➕🔢 Solution Solution Solution
Day 13 Fixing Two nodes of a BST 🌳🔄🛠️ Solution Solution Solution
Day 14 Lowest Common Ancestor in a BST 🌳🔍🤝 Solution Solution Solution
Day 15 Serialize and deserialize a binary tree 🌲📤💾 Solution Solution Solution
Day Problem Name C C++ Java Python
Day 1 k largest elements 🔢📈🥇 Solution Solution Solution
Day 2 K Closest Points to Origin 📍🗺️🔢 Solution Solution Solution
Day 3 Merge K sorted linked lists 🔗📄➡️ Solution Solution Solution
Day 4 Find median in a stream 📊⏳📈 Solution Solution Solution
Day Problem Name C C++ Java Python
Day 1 Parenthesis Checker 🏗️✅🗄️ Solution Solution Solution
Day 2 Longest valid Parentheses 🟰➡️🎭 Solution Solution Solution
Day 3 Next Greater Element ➡️🔝🔍 Solution Solution Solution
Day 4 Stock span problem 💹⏳📋 Solution Solution Solution
Day 5 Histogram Max Rectangular Area 📦🔲📐 Solution Solution Solution
Day 6 Maximum of minimum for every window size 📈🪟📉 Solution Solution Solution
Day 7 Get Min from Stack 🔝📦🔽 Solution Solution Solution
Day 8 Evaluation of Postfix Expression 📥✖️➗ Solution Solution Solution
Day 9 Decode the string 🔍🔠🔓 Solution Solution Solution
Day Problem Name C C++ Java Python
Day 1 K Sized Subarray Maximum 🔢🟩🔄 Solution Solution Solution
Day 2 Longest Bounded-Difference Subarray 📏🔢🟰 Solution Solution Solution
Day Problem Name C C++ Java Python
Day 1 Longest Increasing Subsequence 🔝📈🧩 Solution Solution Solution
Day 2 Longest String Chain 🔗⛓️🔠 Solution Solution Solution
Day 3 Longest Common Subsequence 📏✂️📚 Solution Solution Solution
Day 4 Longest Palindromic Subsequence 🔁💫🔬 Solution Solution Solution
Day 5 Longest Palindrome in a String 🔠📏🔄 Solution Solution Solution
Day 6 Palindrome SubStrings 📜🔄🔢 Solution Solution Solution
Day 7 Edit Distance ✂️🧮🔢 Solution Solution Solution
Day 8 Ways to Reach the n'th Stair ➡️🏃‍♂️🔢 Solution Solution Solution
Day 9 Min Cost Climbing Stairs 🏃‍♂️💰🔝 Solution Solution Solution
Day 10 0 - 1 Knapsack Problem 🎒💰🔢 Solution Solution Solution
Day 11 Coin Change (Count Ways) 🪙🔢💰 Solution Solution Solution
Day 12 Coin Change (Minimum Coins) 🪙📉💰 Solution Solution Solution
Day 13 Minimum Jumps 🏃‍♂️💨➡️ Solution Solution Solution
Day 14 Subset Sum Problem 🎯🔢✅ Solution Solution Solution
Day 15 Partition Equal Subset Sum ➗🔢❌ Solution Solution Solution
Day 16 Stock Buy and Sell – Max K Transactions Allowed 💰💵🛒 Solution Solution Solution
Day 17 Stock Buy and Sell – Max 2 Transactions Allowed 💰💹💵 Solution Solution Solution
Day 18 Stickler Thief 🦹‍♂️🏠🚔 Solution Solution Solution
Day 19 Stickler Thief II 🦹‍♂️🏠💰 Solution Solution Solution
Day 20 Total Decoding Messages 🔢➡️🔡 Solution Solution Solution
Day 21 Matrix Chain Multiplication ➗📈🔢 Solution Solution Solution
Day 22 Boolean Parenthesization 🧮✅❌ Solution Solution Solution
Day 23 Word Break 📖✂️🚀 Solution Solution Solution
Day Problem Name C C++ Java Python
Day 1 Minimum Platforms 🚉🚆⏳ Solution Solution Solution
Day 2 Activity Selection 📅⏳🏆 Solution Solution Solution
Day 3 Job Sequencing Problem 📅💼💰 Solution Solution Solution
Day 4 Gas Station ⛽🚗💨 Solution Solution Solution
Day 5 Maximize partitions in a String 🔠🧩📏 Solution Solution Solution

🎁 Previously Solved Bonus Problem

(Click to expand)
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 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 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 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

🔥 Master Java with Awesome-Java! 🔥

Hey Developers! 🚀

Are you looking to level up your Java skills? Whether you’re a beginner or an experienced developer, Awesome-Java is packed with useful Java resources, best practices, and hands-on coding exercises.

Why should you explore this repo?

✅ Well-structured Java concepts 🔍
✅ Covers Core Java, OOP, DSA, Java 8+, Concurrency, and more 🏗️
✅ Includes real-world projects & solutions 💻
✅ Beginner-friendly explanations 📘
✅ Open-source contributions welcome! 🌍

🔧 How can you contribute?

  • Star the repository to show your support!
  • 🛠️ Improve existing code or add new concepts.
  • 💬 Suggest topics that should be covered.
  • 🤝 Join discussions and help others learn Java!

Let’s build an Awesome Java resource together! 🚀

Awesome Java

💀 TryHackMe Free Rooms - Learn Ethical Hacking! 💀

Cybersecurity enthusiasts, this one’s for you! 🚀

TryHackMe Free Rooms is a curated list of free hacking labs from TryHackMe that help you build hands-on pentesting, red teaming, and cybersecurity skills.

What’s inside?

🔹 List of completely free hacking labs 🆓
🔹 Topics covering Web Exploitation, Networking, Forensics, Reverse Engineering, and more! 💻
🔹 Beginner-friendly guided walkthroughs 🕵️‍♂️
🔹 Perfect for CTF practice & OSCP prep 🎯
🔹 Community contributions encouraged! 🤝

🔧 How can you contribute?

  • Star the repository to support ethical hacking education!
  • 📢 Suggest or add new rooms from TryHackMe.
  • 📝 Write walkthroughs for tricky challenges.
  • 🔗 Share this with fellow hackers to grow the community!

Join now & start hacking! 🚀

TryHackMe Free Rooms

💡 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

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages