# March 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/March%202024%20GFG%20SOLUTION)💡
  * [Day 1: Peak Element](march-2024-gfg-solution/01-march-peak-element)🏔️
  * [Day 2: First Element to Occur k Times](march-2024-gfg-solution/02-march-first-element-to-occur-k-times)🔄
  * [Day 3: Largest Number Formed from an Array](march-2024-gfg-solution/03-march-largest-number-formed-from-an-array)🔢
  * [Day 4: Swap the Array Elements](march-2024-gfg-solution/04-march-swap-the-array-elements)↔️
  * [Day 5: Maximum Index](march-2024-gfg-solution/05-march-maximum-index)📈
  * [Day 6: Search Pattern (Rabin-Karp Algorithm)](march-2024-gfg-solution/06-march-search-pattern-rabin-karp-algorithm)🔍
  * [Day 7: Longest Repeating and Non-overlapping Substring](march-2024-gfg-solution/07-march-longest-repeating-and-non-overlapping-substring)🔠
  * [Day 8: Check if Frequencies Can Be Equal](march-2024-gfg-solution/08-march-check-if-frequencies-can-be-equal)✅
  * [Day 9: Find the N-th Character](march-2024-gfg-solution/09-march-find-the-n-th-character)🔤
  * [Day 10: Remove Duplicate Characters](march-2024-gfg-solution/10-march-remove-all-duplicates-from-a-given-string)🔠✂️
  * [Day 11: Count Pairs Sum in Matrices](march-2024-gfg-solution/11-march-count-pairs-sum-in-matrices)🔢
  * [Day 12: Generalised Fibonacci Numbers](march-2024-gfg-solution/12-march-generalised-fibonacci-numbers)🔢
  * [Day 13: Print matrix in diagonal pattern](march-2024-gfg-solution/13-march-print-matrix-in-diagonal-pattern)🔀
  * [Day 14: Print matrix in diagonal pattern](march-2024-gfg-solution/14-march-largest-subsquare-surrounded-by-x)🔄
  * [Day 15: Linked List that is Sorted Alternatingly](march-2024-gfg-solution/15-march-linked-list-that-is-sorted-alternatingly)🧮
  * [Day 16: Delete without head pointer](march-2024-gfg-solution/16-march-delete-node-without-head-pointer)✂️💥
  * [Day 17: Count Pairs whose sum is equal to X](march-2024-gfg-solution/17-march-count-pairs-whose-sum-is-equal-to-x)🔢⏳
  * [Day 18: Level order traversal](march-2024-gfg-solution/18-march-level-order-traversal)🛤️
  * [Day 19: Possible Paths in a Tree](march-2024-gfg-solution/19-march-possible-paths-in-a-tree):🌳🚶‍♂️
  * [Day 20: Sum of nodes on the longest path from root to leaf node](march-2024-gfg-solution/20-march-sum-of-nodes-on-the-longest-path-from-root-to-leaf-node)🍃
  * [Day 21: ZigZag Tree Traversal](march-2024-gfg-solution/21-march-zigzag-tree-traversal)🔀🌳
  * [Day 22: Diagonal sum in binary tree](march-2024-gfg-solution/22-march-diagonal-sum-in-binary-tree)🌳➕
  * [Day 23: Fibonacci series up to Nth term](march-2024-gfg-solution/23-march-fibonacci-series-up-to-nth-term)🌈0️⃣1️⃣🌀
  * [Day 24: Insert an Element at the Bottom of a Stack](march-2024-gfg-solution/24-march-insert-an-element-at-the-bottom-of-a-stack)📥➡️🔽
  * [Day 25: Print N-bit binary numbers having more 1s than 0s](march-2024-gfg-solution/25-march-print-n-bit-binary-numbers-having-more-1s-than-0s)⚫️⚪️🔣
  * [Day 26: Additive sequence](march-2024-gfg-solution/26-march-additive-sequence)➕🧩
  * [Day 27: Find shortest safe route in a matrix](march-2024-gfg-solution/27-march-find-shortest-safe-route-in-a-matrix)🏁🚶‍♂️
  * [Day 28: City With the Smallest Number of Neighbors at a Threshold Distance](march-2024-gfg-solution/28-march-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance)🏙️🏃‍♂️
  * [Day 29: Euler Circuit in an Undirected Graph](march-2024-gfg-solution/29-march-euler-circuit-in-an-undirected-graph)🏞️🎢
  * [Day 30: Minimum element in BST](march-2024-gfg-solution/30-march-minimum-element-in-bst)🌱⬇️
  * [Day 31: Closest Neighbour in BST](march-2024-gfg-solution/31-march-closest-neighbour-in-bst)🏹🌳

### Introduction

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

_Day 1(01 MAR) :_ Peak element

_Day 2(02 MAR) :_ First element to occur k times

_Day 3(03 MAR) :_ Largest Number formed from an Array

_Day 4(04 MAR) :_ Swap the array elements

_Day 5(05 MAR) :_ Maximum Index

_Day 6(06 MAR) :_ Search Pattern (Rabin-Karp Algorithm)

_Day 7(07 MAR) :_ Longest repeating and non-overlapping substring

_Day 8(08 MAR) :_ Check if frequencies can be equal

_Day 9(09 MAR) :_ Find the N-th character

_Day 10(10 MAR) :_ Remove Duplicate Characters

_Day 11(11 MAR) :_ Count Pairs Sum in Matrices

_Day 12(12 MAR) :_ Generalised Fibonacci Numbers

_Day 13(13 MAR) :_ Print matrix in diagonal pattern

_Day 14(14 MAR) :_ Largest subsquare surrounded by X

_Day 15(15 MAR) :_ Linked List that is Sorted Alternatingly

_Day 16(16 MAR) :_ Delete without head pointer

_Day 17(17 MAR) :_ Count Pairs whose sum is equal to X

_Day 18(18 MAR) :_ Level order traversal

_Day 19(19 MAR) :_ Possible Paths in a Tree

_Day 20(20 MAR) :_ Sum of nodes on the longest path from root to leaf node

_Day 21(21 MAR) :_ ZigZag Tree Traversal

_Day 22(22 MAR) :_ Diagonal sum in binary tree

_Day 23(23 MAR) :_ Fibonacci series up to Nth term

_Day 24(24 MAR) :_ Insert an Element at the Bottom of a Stack

_Day 25(25 MAR) :_ Print N-bit binary numbers having more 1s than 0s

_Day 26(26 MAR) :_ Additive sequence

_Day 27(27 MAR) :_ Find shortest safe route in a matrix

_Day 28(28 MAR) :_ City With the Smallest Number of Neighbors at a Threshold Distance

_Day 29(29 MAR) :_ Euler Circuit in an Undirected Graph

_Day 30(30 MAR) :_ Minimum element in BST

_Day 31(31 MAR) :_ Closest Neighbour in BST
