# December 2024 GFG SOLUTION

### 📜 Table of Contents 📜

For discussions, questions, or doubts related to this solution, please visit my LinkedIn: [Any Questions](https://www.linkedin.com/in/patel-hetkumar-sandipbhai-8b110525a/). 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.

* [Introduction](readme)📝
* [Solutions](https://github.com/Hunterdii/GeeksforGeeks-POTD/tree/main/December%202024%20GFG%20SOLUTION)💡
* [Day 1: Non Repeating Character](december-2024-gfg-solution/01-dec-non-repeating-character)🔢📝💭
* [Day 2: Search Pattern (KMP Algorithm)](december-2024-gfg-solution/02-dec-search-pattern-kmp-algorithm) 📚🔍🧠
* [Day 3: Min Chars to Add for Palindrome](december-2024-gfg-solution/03-dec-min-chars-to-add-for-palindrome)✂️💬🔠
* [Day 4: Strings Rotations of Each Other](december-2024-gfg-solution/04-dec-strings-rotations-of-each-other)🔄🔠🌀
* [Day 5: Sort 0s, 1s, and 2s](december-2024-gfg-solution/05-dec-sort-0s-1s-and-2s)🚦🔢🎨
* [Day 6: Find H-Index](december-2024-gfg-solution/06-dec-find-h-index)📚📊🔍
* [Day 7: Count Inversions](december-2024-gfg-solution/07-dec-count-inversions)🔄📊🔢
* [Day 8: Overlapping Intervals](december-2024-gfg-solution/08-dec-overlapping-intervals)📅⏰🔁
* [Day 9: Insert Interval](december-2024-gfg-solution/09-dec-insert-interval)📝🔲⏳
* [Day 10: Non-overlapping Intervals](december-2024-gfg-solution/10-dec-non-overlapping-intervals)✂️🔗✅
* [Day 11: Merge Without Extra Space](december-2024-gfg-solution/11-dec-merge-without-extra-space) 📂🚫📦
* [Day 12: Number of occurrence](december-2024-gfg-solution/12-dec-number-of-occurrence)🧮📂📍
* [Day 13: Sorted and Rotated Minimum](december-2024-gfg-solution/13-dec-sorted-and-rotated-minimum)🔢🔄🌐
* [Day 14: Search in Rotated Sorted Array](december-2024-gfg-solution/14-dec-search-in-rotated-sorted-array)🔍📐🔑
* [Day 15: Peak Element](december-2024-gfg-solution/15-dec-peak-element)🌄🔝⛰️
* [Day 16: K-th Element of Two Arrays](december-2024-gfg-solution/16-dec-k-th-element-of-two-arrays)🔢🔍🎯
* [Day 17: Aggressive Cows](december-2024-gfg-solution/17-dec-aggressive-cows)🐄🚜🐮
* [Day 18: Allocate Minimum Pages](december-2024-gfg-solution/18-dec-allocate-minimum-pages)📚📖📏
* [Day 19: Kth Missing Positive Number in a Sorted Array](december-2024-gfg-solution/19-dec-kth-missing-positive-number-in-a-sorted-array)🔢➡️❓
* [Day 20: Spirally traversing a matrix](december-2024-gfg-solution/20-dec-spirally-traversing-a-matrix)🌀🔢🔄
* [Day 21: Rotate by 90 degree](december-2024-gfg-solution/21-dec-rotate-by-90-degree)📐↩️🏛️
* [Day 22: Search in a Row-Column sorted matrix](december-2024-gfg-solution/22-dec-search-in-a-row-column-sorted-matrix)🔍🔢📉
* [Day 23: Search in a row-wise sorted matrix](december-2024-gfg-solution/23-dec-search-in-a-row-wise-sorted-matrix)📋🔍✅
* [Day 24: Search in a sorted Matrix](december-2024-gfg-solution/24-dec-search-in-a-sorted-matrix)🔍🧮📈
* [Day 25: Set Matrix Zeroes](december-2024-gfg-solution/25-dec-set-matrix-zeroes)🟦⬜🔢
* [Day 26: Two Sum - Pair with Given Sum](december-2024-gfg-solution/26-dec-two-sum-pair-with-given-sum)➕🔢🧩
* [Day 27: Count pairs with given sum](december-2024-gfg-solution/27-dec-count-pairs-with-given-sum)🔢🧮🛠️
* [Day 28: Find All Triplets with Zero Sum](december-2024-gfg-solution/28-dec-find-all-triplets-with-zero-sum)🔢🔍🎯
* [Day 29: Intersection of Two arrays with Duplicate Elements](december-2024-gfg-solution/29-dec-intersection-of-two-arrays-with-duplicate-elements)🔗🔄📤📑
* [Day 30: Union of Arrays with Duplicates](december-2024-gfg-solution/30-dec-union-of-arrays-with-duplicates)📚📦📑
* [Day 31: Longest Consecutive Subsequence](december-2024-gfg-solution/31-dec-longest-consecutive-subsequence)🏃‍♂⏳🎯

### Introduction

This repository contains solutions to daily problems from GeeksforGeeks. Each day, a new problem is provided along with its solution.

_Day 1(01 DEC) :_ Non Repeating Character

_Day 2(02 DEC) :_ Search Pattern (KMP Algorithm)

_Day 3(03 DEC) :_ Min Chars to Add for Palindrome

_Day 4(04 DEC) :_ Strings Rotations of Each Other

_Day 5(05 DEC) :_ Sort 0s, 1s, and 2s

_Day 6(06 DEC) :_ Find H-Index

_Day 7(07 DEC) :_ Count Inversions

_Day 8(08 DEC) :_ Overlapping Intervals

_Day 9(09 DEC) :_ Insert Interval

_Day 10(10 DEC) :_ Non-overlapping Intervals

_Day 11(11 DEC) :_ Merge Without Extra Space

_Day 12(12 DEC) :_ Number of occurrence

_Day 13(13 DEC) :_ Sorted and Rotated Minimum

_Day 14(14 DEC) :_ Search in Rotated Sorted Array

_Day 15(15 DEC) :_ Peak Element

_Day 16(16 DEC) :_ K-th Element of Two Arrays

_Day 17(17 DEC) :_ Aggressive Cows

_Day 18(18 DEC) :_ Allocate Minimum Pages

_Day 19(19 DEC) :_ Kth Missing Positive Number in a Sorted Array

_Day 20(20 DEC) :_ Spirally traversing a matrix

_Day 21(21 DEC) :_ Rotate by 90 degree

_Day 22(22 DEC) :_ Search in a Row-Column sorted matrix

_Day 23(23 DEC) :_ Search in a row-wise sorted matrix

_Day 24(24 DEC) :_ Search in a sorted Matrix

_Day 25(25 DEC) :_ Set Matrix Zeroes

_Day 26(26 DEC) :_ Two Sum - Pair with Given Sum

_Day 27(27 DEC) :_ Count pairs with given sum

_Day 28(28 DEC) :_ Find All Triplets with Zero Sum

_Day 29(29 DEC) :_ Intersection of Two arrays with Duplicate Elements

_Day 30(30 DEC) :_ Union of Arrays with Duplicates

_Day 31(31 DEC) :_ Longest Consecutive Subsequence
