May 2024 GFG SOLUTION
๐ Table of Contents ๐
Guys Please vote I need Suggestion about the Leetcode POTD Discussion Click Please Vote๐
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: Arrange Consonants and Vowels๐ ฐ๏ธ๐ ฑ๏ธ๐
Day 2: Serialize and deserialize a binary tree๐ณ๐ฆ๐
Day 3: K distance from root๐ณ๐โโ๏ธ๐
Day 5: Vertical sum๐๐งฎ
Day 6: Print all nodes that don't have sibling๐ฟ ๐ฅ๐ซ
Day 7: Reverse Level Order Traversal๐ต๏ธโโ๏ธ๐
Day 8: Root to Leaf Paths๐๐ค๏ธ
Day 9: Divisor Game๐ฎ๐พ
Day 10: Combination Sum II๐ฏโณ๐ข
Day 11: Juggler Sequenceโก๏ธ๐ค๏ธ
Day 12: Minimum steps to destination๐๐ค๏ธ๐ถโโ๏ธ
Day 13: Number of Good Components๐ข๐๐งฉ
Day 14: Path With Minimum Effort๐๏ธ๐ฅพ๐งโโ๏ธ
Day 15: Account Merge๐ง๐ค
Day 16: Divisibility treeโ๐ณ
Day 17: Find Pair Given Difference๐คโ๏ธ
Day 18: Find the Highest number๐๐
Day 19: Find the closest number๐ฏ๐
Day 20: Modular Exponentiation for large numbers๐งฎ๐ข๐
Day 21: K closest elements๐ฏ๐ข
Day 22: Minimize Max Distance to Gas Station๐โฝ๐ฃ๏ธ
Day 23: K-Palindrome๐๐
Day 24: Partitions with Given Difference๐ขโโ๏ธ
Day 25: You and your books๐๐
Day 27: Longest subsequence-1๐ข๐ฏโณ
Day 28: Minimum cost to fill given weight in a bag๐๐ฐโ๏ธ
Day 29: Geek and its Game of Coins๐ช๐๐ฎ
Day 30: String Subsequence๐งโ๐ป๐ข
Day 31: Swap two nibbles in a byte๐๐ฃ๐ฅ๏ธ
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) : Arrange Consonants and Vowels
Day 2(02 MAY) : Serialize and deserialize a binary tree
Day 3(03 MAY) : K distance from root
Day 4(04 MAY) : Construct Binary Tree from Inorder and Postorder
Day 5(05 MAY) : Vertical sum
Day 6(06 MAY) : Print all nodes that don't have sibling
Day 7(07 MAY) : Reverse Level Order Traversal
Day 8(08 MAY) : Root to Leaf Paths
Day 9(09 MAY) : Divisor Game
Day 10(10 MAY) : Combination Sum II
Day 11(11 MAY) : Juggler Sequence
Day 12(12 MAY) : Minimum steps to destination
Day 13(13 MAY) : Number of Good Components
Day 14(14 MAY) : Path With Minimum Effort
Day 15(15 MAY) : Account Merge
Day 16(16 MAY) : Divisibility tree
Day 17(17 MAY) : Find Pair Given Difference
Day 18(18 MAY) : Find the Highest number
Day 19(19 MAY) : Find the closest number
Day 20(20 MAY) : Modular Exponentiation for large numbers
Day 21(21 MAY) : K closest elements
Day 22(22 MAY) : Minimize Max Distance to Gas Station
Day 23(23 MAY) : K-Palindrome
Day 24(24 MAY) : Partitions with Given Difference
Day 25(25 MAY) : You and your books
Day 26(26 MAY) : Minimum Cost To Make Two Strings Identical
Day 27(27 MAY) : Longest subsequence-1
Day 28(28 MAY) : Minimum cost to fill given weight in a bag
Day 29(29 MAY) : Geek and its Game of Coins
Day 30(30 MAY) : String Subsequence
Day 31(31 MAY) : Swap two nibbles in a byte
Last updated