January 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: Print Anagrams Together๐ก๐ฅ๐ค
Day 2: Subarrays with sum K๐ขโ๐ฏ
Day 3: Count Subarrays with given XOR๐ป๐ข๐งฎ
Day 5: Count Pairs whose sum is less than target๐ซ๐ข๐จโ๐ป
Day 6: Sum Pair closest to target๐ฏ๐ก๐ข
Day 8: Count the number of possible triangles๐๐๐งฎ
Day 9: Indexes of Subarray Sum๐๐๐
Day 12: Trapping Rain Water๐ง๏ธ๐ง๐๏ธ
Day 13: Container With Most Water๐ฆ๐๐
Day 14: Equilibrium Pointโ๏ธ๐๐งฎ
Day 15: Longest Subarray with Sum K๐๐๐ ๏ธ
Day 16: Largest subarray of 0's and 1's๐ข๐ข๐ด
Day 17: Product array puzzle๐งฉ๐ฆโ
Day 18: Reverse a linked list๐๐โ๏ธ
Day 19: Rotate a Linked List๐๐๐ซ
Day 20: Merge two sorted linked lists๐โ๐
Day 21: Linked List Group Reverse๐๐๐
Day 22: Add Number Linked Listsโ๐๐
Day 23: Clone List with Next and Random๐๐๐ค
Day 24: Detect Loop in linked list๐๐๐ฆ
Day 26: Remove loop in Linked List๐๐ซ๐
Day 27: LRU Cache๐๐ค๐พ
Day 28: Permutations of a String๐ ๐๐งฉ
Day 29: Implement Powโก๐ข๐
Day 30: N-Queen Problem๐โ๏ธ๐ข
Day 31: Solve the Sudoku๐งฉ๐๐ฏ
Introduction
This repository contains solutions to daily problems from GeeksforGeeks. Each day, a new problem is provided along with its solution.
Day 1(01 JAN) : Print Anagrams Together
Day 2(02 JAN) : Subarrays with sum K
Day 3(03 JAN) : Count Subarrays with given XOR
Day 4(04 JAN) : Count all triplets with given sum in sorted array
Day 5(05 JAN) : Count Pairs whose sum is less than target
Day 6(06 JAN) : Sum Pair closest to target
Day 7(07 JAN) : Pair with given sum in a sorted array
Day 8(08 JAN) : Count the number of possible triangles
Day 9(09 JAN) : Indexes of Subarray Sum
Day 10(10 JAN) : Count all triplets with given sum in sorted array
Day 11(11 JAN) : Longest substring with distinct characters
Day 12(12 JAN) : Trapping Rain Water
Day 13(13 JAN) : Container With Most Water
Day 14(14 JAN) : Equilibrium Point
Day 15(15 JAN) : Longest Subarray with Sum K
Day 16(16 JAN) : Largest subarray of 0's and 1's
Day 17(17 JAN) : Product array puzzle
Day 18(18 JAN) : Reverse a linked list
Day 19(19 JAN) : Rotate a Linked List
Day 20(20 JAN) : Merge two sorted linked lists
Day 21(21 JAN) : Linked List Group Reverse
Day 22(22 JAN) : Add Number Linked Lists
Day 23(23 JAN) : Clone List with Next and Random
Day 24(24 JAN) : Detect Loop in linked list
Day 25(25 JAN) : Find the first node of loop in linked list
Day 26(26 JAN) : Remove loop in Linked List
Day 27(27 JAN) : LRU Cache
Day 28(28 JAN) : Permutations of a String
Day 29(29 JAN) : Implement Pow
Day 30(30 JAN) : N-Queen Problem
Day 31(31 JAN) : Solve the Sudoku
Last updated