August 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: Balancing Consonants and Vowels Ratio๐ ๐๐
Day 2: Longest Subarray with Majority Greater than K๐๐โ๏ธ
Day 3: 2D Difference Array๐๐๐ข
Day 4: Maximum sum Rectangle๐๐ง ๐
Day 5: Palindrome Sentence๐ง ๐๐
Day 6: Roman Number to Integer๐ข๐๐๏ธ
Day 7: Difference Check๐๐โฑ๏ธ
Day 8: Longest Prefix Suffix๐๐๐
Day 9: Longest Periodic Proper Prefix๐๐๐ค
Day 10:Palindrome SubStrings๐๐๐ค
Day 12: Shop in Candy Store๐ญ๐๐ฐ
Day 13: Tywin's War Strategyโ๏ธ๐น๐ฏ
Day 14: Count Reverse Pairs๐๐ข๐
Day 15: Insert Interval๐๐๐๏ธ
Day 16: Form the Largest Number๐ค๐๐
Day 17: Sort by Absolute Difference๐๐ข๐
Day 18: Find H-Index๐ท๏ธ๐๐
Day 19: Farthest Smaller Right๐ข๐๐
Day 20: Search in fully rotated sorted 2D matrix๐๐๐
Day 22: Median in a row-wise sorted Matrix๐ข๐๏ธ๐งฎ
Day 23: Allocate Minimum Pages๐๐๐
Day 24: Minimum days to make M bouquets๐๐ธ๐๏ธ
Day 26: Check if a String is Subsequence of Other๐ฅ๐๐๏ธ
Day 27: Count the number of possible triangles๐บ๐๐
Day 28: Maximize Number of 1's๐ข๐๐
Day 30: The Celebrity Problem๐ค๐๐
Day 31: Container With Most Water๐๐ง๐
Introduction
This repository contains solutions to daily problems from GeeksforGeeks. Each day, a new problem is provided along with its solution.
Day 1(01 AUG) : Balancing Consonants and Vowels Ratio
Day 2(02 AUG) : Longest Subarray with Majority Greater than K
Day 3(03 AUG) : 2D Difference Array
Day 4(04 AUG) : Maximum sum Rectangle
Day 5(05 AUG) : Palindrome Sentence
Day 6(06 AUG) : Roman Number to Integer
Day 7(07 AUG) : Difference Check
Day 8(08 AUG) : Longest Prefix Suffix
Day 9(09 AUG) : Longest Periodic Proper Prefix
Day 10(10 AUG) : Palindrome SubStrings
Day 11(11 AUG) : Maximum Non-Overlapping Odd Palindrome Sum
Day 12(12 AUG) : Shop in Candy Store
Day 13(13 AUG) : Tywin's War Strategy
Day 14(14 AUG) : Count Reverse Pairs
Day 15(15 AUG) : Insert Interval
Day 16(16 AUG) : Form the Largest Number
Day 17(17 AUG) : Sort by Absolute Difference
Day 18(18 AUG) : Find H-Index
Day 19(19 AUG) : Farthest Smaller Right
Day 20(20 AUG) : Search in fully rotated sorted 2D matrix
Day 21(21 AUG) : Maximize the minimum difference between k elements
Day 22(22 AUG) : Median in a row-wise sorted Matrix
Day 23(23 AUG) : Allocate Minimum Pages
Day 24(24 AUG) : Minimum days to make M bouquets
Day 25(25 AUG) : Maximize median after doing k addition operation
Day 26(26 AUG) : Check if a String is Subsequence of Other
Day 27(27 AUG) : Count the number of possible triangles
Day 28(28 AUG) : Maximize Number of 1's
Day 29(29 AUG) : Smallest window containing all characters
Day 30(30 AUG) : The Celebrity Problem
Day 31(31 AUG) : Container With Most Water
Last updated