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