For discussions, questions, or doubts related to this solution, please visit my Twitter : Any Questions . Thank you for your input, together, we strive to create a space where learning is a collaborative endeavor.
🔮Your feedback is valuable! Please consider leaving a 🌟 star 🌟 and sharing your thoughts in the comments.
This repository contains solutions to daily problems from GeeksforGeeks. Each day, a new problem is provided along with its solution.
📅 December 2024 Problem of the Day Solutions 📅
December
Problem Name
Java ☕
Day1
Non Repeating Character 💥📊🔢
Solution
Day 2
Search Pattern (KMP-Algorithm) 🔢🔄💥
Solution
Day 3
Min Chars to Add for Palindrome 📃🔄💥
Solution
Day 4
Strings Rotations of Each Other 📃💥
Solution
Day 5
Sort 0s, 1s and 2s 📃💥
Solution
Day 6
Find H-Index 📃💥
Solution
Day 7
Count Inversions 😀 🧡 🌺
Solution
Day 8
Overlapping Intervals ❤️ 🔮 🐶
Solution
Day 9
Insert Interval 🌸 💎 😃
Solution
Day 10
Non-overlapping Intervals 😃 🌸 🐱
Solution
Day 11
Merge Without Extra Space 😀 ❤️ 🌺
Solution
Day 12
Number of occurrence 😃 🌸 🐶
Solution
Day 13
Sorted and Rotated Minimum ❤️ 🌺 😀
Solution
Day 14
Search in Rotated Sorted Array 🔮 😃 🌺
Solution
Day 15
Peak element 💎 🧡 🌸
Solution
Day 16
K-th element of two Arrays ⭐💫⭐
Solution
Day 17
Aggressive Cows 🔥☘️🍁
Solution
Day 18
Allocate Minimum Pages 📄📄📄
Solution
Day 19
Kth Missing Positive Number in a Sorted Array 📜🔢🎯
Solution
Day 20
Spirally traversing a matrix 🎯🔢📃
Solution
Day 21
Rotate by 90 degree 🏨🏢📃
Solution
Day 22
Search in a Row-Column sorted matrix 📃🎯🔢
Solution
Day 23
Search in a row-wise sorted matrix 🔮 🐱 😃
Solution
🎉 Bonus Problems (Arrays)🎁
Bonus Problem No.
Problem Name
Java ☕
NUM 1
Split Array in Three Equal Sum Subarrays 💥📊🔢
Solution
NUM 2
Repetitive Addition of Digits 🔢🔄💥
Solution
NUM 3
Maximize Number of 1's 🔢🔥💡
Solution
NUM 4
Last Moment Before All Ants Fall Out of a Plank 🐜🌍⏳
Solution
🎉 Bonus Problems (Strings)🎁
Bonus Problem No.
Problem Name
Java ☕
NUM 1
Fizz Buzz 💥📊🔢
Solution
NUM 2
CamelCase Pattern Matching 🚀🛤️🟰
Solution
NUM 3
Palindrome Sentence ✅👑✅
Solution
NUM 4
Minimum repeat to make substring 🚀👑✅
Solution
NUM 5
Longest Prefix Suffix 🔢👑🟰
Solution
NUM 6
Integer to Words 💥🎁🚀
Solution
🎉 160 Days of GFG Challenge 🎁
Here's the updated list with the problem days properly formatted in the solution folder:
Day
Problem Name
Java ☕
Day 1
Second Largest 🔢🏅
Solution
Day 2
Move All Zeroes to End 🔄0️⃣
Solution
Day 3
Reverse an Array 🔄🔁
Solution
Day 4
Rotate Array 🔄🔄
Solution
Day 5
Next Permutation 🔢🔄
Solution
Day 6
Majority Element II 🔢👥
Solution
Day 7
Stock Buy and Sell – Multiple Transactions Allowed 📈💹
Solution
Day 8
Stock Buy and Sell – Max One Transaction Allowed 📉💵
Solution
Day 9
Minimize the Heights II ⬆️⬇️
Solution
Day 10
Kadane's Algorithm 💡📊
Solution
Day 11
Maximum Product Subarray 🔢💥
Solution
Day 12
Max Circular Subarray Sum 🔁💯
Solution
Day 13
Smallest Positive Missing Number 🔢❓
Solution
Day 14
Implement Atoi 🔢💻
Solution
Day 15
Add Binary Strings 0️⃣1️⃣➕
Solution
Day 16
Anagram 🔄✏️
Solution
Day 17
Non Repeating Character 🔠❌
Solution
Day 18
Search Pattern (KMP Algorithm) 🔍📜
Solution
Day 19
Min Chars to Add for Palindrome 🔍📃
Solution
Day 20
Strings Rotations of Each Other 🔍📃
Solution
Day 21
Sort 0s, 1s and 2s 📃📏✏️
Solution
Day 22
Find H-Index 🔮 🐱 😃
Solution
Day 23
Count Inversions 😀 🧡 🌺
Solution
Day 24
Overlapping Intervals ❤️ 🔮 🐶
Solution
Day 25
Insert Interval 🌸 💎 😃
Solution
Day 26
Non-overlapping Intervals 😃 🌸 🐱
Solution
Day 27
Merge Without Extra Space 😀 ❤️ 🌺
Solution
Day 28
Number of occurrence 😃 🌸 🐶
Solution
Day 29
Sorted and Rotated Minimum ❤️ 🌺 😀
Solution
Day 30
Search in Rotated Sorted Array 🔮 😃 🌺
Solution
Day 31
Peak element 💎 🧡 🌸
Solution
Day 32
K-th element of two Arrays ⭐💫⭐
Solution
Day 33
Aggressive Cows 🔥☘️🍁
Solution
Day 34
Allocate Minimum Pages 📄📄📄
Solution
Day 35
Kth Missing Positive Number in a Sorted Array 📜🔢🎯
Solution
Day 36
Spirally traversing a matrix 🎯🔢📃
Solution
Day 37
Rotate by 90 degree 🏨🏢📃
Solution
Day 38
Search in a Row-Column sorted matrix 📃🎯🔢
Solution
Day 39
Search in a row-wise sorted matrix 🔮 🐱 😃
Solution