March 2024 GFG SOLUTION
๐ Table of Contents ๐
For discussions, questions, or doubts related to this solution, please visit my LinkedIn: 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.
Introduction๐
Solutions๐ก
Day 1: Peak Element๐๏ธ
Day 10: Remove Duplicate Characters๐ โ๏ธ
Day 16: Delete without head pointerโ๏ธ๐ฅ
Day 19: Possible Paths in a Tree:๐ณ๐ถโโ๏ธ
Day 21: ZigZag Tree Traversal๐๐ณ
Day 23: Fibonacci series up to Nth term๐0๏ธโฃ1๏ธโฃ๐
Day 24: Insert an Element at the Bottom of a Stack๐ฅโก๏ธ๐ฝ
Day 25: Print N-bit binary numbers having more 1s than 0sโซ๏ธโช๏ธ๐ฃ
Day 26: Additive sequenceโ๐งฉ
Day 27: Find shortest safe route in a matrix๐๐ถโโ๏ธ
Day 28: City With the Smallest Number of Neighbors at a Threshold Distance๐๏ธ๐โโ๏ธ
Day 29: Euler Circuit in an Undirected Graph๐๏ธ๐ข
Day 30: Minimum element in BST๐ฑโฌ๏ธ
Day 31: 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
Last updated