October 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

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

Day 1(01 OCT) : All Unique Permutations of an array

Day 2(02 OCT) : Unique K-Number Sum

Day 3(03 OCT) : Possible Words From Phone Digits

Day 4(04 OCT) : Expression Add Operators

Day 5(05 OCT) : Rat in a Maze

Day 6(06 OCT) : The Knight's tour problem

Day 7(07 OCT) : Bottom View of Binary Tree

Day 8(08 OCT) : Construct Tree from Preorder & Postorder

Day 9(09 OCT) : Postorder Traversal

Day 10(10 OCT) : ZigZag Tree Traversal

Day 11(11 OCT) : Maximum path sum

Day 12(12 OCT) : Distribute Candies

Day 13(13 OCT) : Maximum Non-Adjacent Nodes Sum

Day 14(14 OCT) : Sum of Nodes in BST Range

Day 15(15 OCT) : k-th Smallest in BST

Day 16(16 OCT) : Remove BST keys outside given range

Day 17(17 OCT) : BST to greater sum tree

Day 18(18 OCT) : Median of BST

Day 19(19 OCT) : K closest Values

Day 20(20 OCT) : Number of BST From Array

Day 21(21 OCT) : Top K Frequent Elements in Array

Day 22(22 OCT) : Nearly sorted

Day 23(23 OCT) : K Closest Points to Origin

Day 24(24 OCT) : Split Array Subsequences

Day 25(25 OCT) : Minimum Steps to Halve Sum

Day 26(26 OCT) : Minimum Cost of ropes

Day 27(27 OCT) : Find K Smallest Sum Pairs

Day 28(28 OCT) : Distance of nearest cell having 1

Day 29(29 OCT) : Graph Diameter

Day 30(30 OCT) : Replace O's with X's

Day 31(31 OCT) : Shortest Cycle

Last updated