May 2025 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: Pascal Triangle๐โ๐ง
Day 2: Bitonic Pointโฐ๏ธ๐งญ๐
Day 3: Prime List๐ข๐๐ฎ
Day 4: Smallest distinct window๐ ๐ช๐
Day 5: Search in an almost Sorted Array๐ใฐ๏ธ๐
Day 6: Left View of Binary Tree๐ณ๐๐งญ
Day 7: Root to Leaf Paths๐๐๐ค๏ธ
Day 8: Missing element of AP๐ขโโ
Day 9: Largest number in K swaps๐ฐ๐ฒ๐
Day 11: K-th Largest Sum Contiguous Subarray๐๐๐งฎ
Day 12: Meeting Rooms III๐ข๐ ๐ผ
Day 13: nCr๐ข๐งฎ๐งฉ
Day 14: Look and Say Pattern๐ฃ๏ธ๐ง ๐
Day 15: Substrings with same first and last characters๐ โก๏ธ๐ ฐ๏ธ
Day 16: Smallest range in K lists๐๐ฆ๐๏ธ
Day 18: Level Order in spiral form๐ฒ๐๐
Day 19: Predecessor and Successor๐ณ๐๐
Day 20: Burning Tree๐ฅ๐ณโฑ๏ธ
Day 21: Kth Smallest Number in Multiplication Table๐ข๐งโ๐ป๐งฑ
Day 22: Minimum Deletions๐๏ธโ๏ธ๐งน
Day 23: Dice throw๐ฒ๐งฎ๐ค
Day 24: Sum of all substrings of a number๐ข๐ฑ๐ฐ
Day 25: Pythagorean Triplet๐ฆ๐๐บ
Day 26: Insert in Sorted Circular Linked List๐๐๐งต
Day 28: Find rectangle with corners as 1๐ฆ๐ฒ๐
Day 29: Sum of nodes on the longest path๐ณ๐ค๏ธ๐งโโ๏ธ
Day 30: Closest Neighbour in BST๐ณ๐ค๐งญ
Day 31: Kth element in Matrix๐งฎ๐๐
Introduction
This repository contains solutions to daily problems from GeeksforGeeks. Each day, a new problem is provided along with its solution.
Day 1(01 MAY) : Pascal Triangle
Day 2(02 MAY) : Bitonic Point
Day 3(03 MAY) : Prime List
Day 4(04 MAY) : Smallest distinct window
Day 5(05 MAY) : Search in an almost Sorted Array
Day 6(06 MAY) : Left View of Binary Tree
Day 7(07 MAY) : Root to Leaf Paths
Day 8(08 MAY) : Missing element of AP
Day 9(09 MAY) : Largest number in K swaps
Day 10(10 MAY) : Longest Subarray with Majority Greater than K
Day 11(11 MAY) : K-th Largest Sum Contiguous Subarray
Day 12(12 MAY) : Meeting Rooms III
Day 13(13 MAY) : nCr
Day 14(14 MAY) : Look and Say Pattern
Day 15(15 MAY) : Substrings with same first and last characters
Day 16(16 MAY) : Smallest range in K lists
Day 17(17 MAY) : Sort the given array after applying the given equation
Day 18(18 MAY) : Level Order in spiral form
Day 19(19 MAY) : Predecessor and Successor
Day 20(20 MAY) : Burning Tree
Day 21(21 MAY) : Kth Smallest Number in Multiplication Table
Day 22(22 MAY) : Minimum Deletions
Day 23(23 MAY) : Dice throw
Day 24(24 MAY) : Sum of all substrings of a number
Day 25(25 MAY) : Pythagorean Triplet
Day 26(26 MAY) : Insert in Sorted Circular Linked List
Day 27(27 MAY) : Print leaf nodes from preorder traversal of BST
Day 28(28 MAY) : Find rectangle with corners as 1
Day 29(29 MAY) : Sum of nodes on the longest path
Day 30(30 MAY) : Closest Neighbour in BST
Day 31(31 MAY) : Kth element in Matrix
Last updated