{"id":26337816,"url":"https://github.com/itsjomon/geeksforgeeks-potd","last_synced_at":"2025-03-16T02:26:11.899Z","repository":{"id":281015682,"uuid":"943872599","full_name":"itsjomon/geeksforgeeks-potd","owner":"itsjomon","description":"GeeksforGeeks  Problem of the Day (2025).","archived":false,"fork":false,"pushed_at":"2025-03-14T14:26:12.000Z","size":171,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T15:34:30.460Z","etag":null,"topics":["geeksforgeeks","geeksforgeeks-java","geeksforgeeks-potd","geeksforgeeks-solutions","gfg"],"latest_commit_sha":null,"homepage":"https://www.geeksforgeeks.org/problem-of-the-day","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/itsjomon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-06T12:04:15.000Z","updated_at":"2025-03-14T14:26:15.000Z","dependencies_parsed_at":"2025-03-06T14:57:26.055Z","dependency_job_id":"9427dbd1-d949-4af7-a5d0-930e993a3dc1","html_url":"https://github.com/itsjomon/geeksforgeeks-potd","commit_stats":null,"previous_names":["itsjomon/geeksforgeeks-potd"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsjomon%2Fgeeksforgeeks-potd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsjomon%2Fgeeksforgeeks-potd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsjomon%2Fgeeksforgeeks-potd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsjomon%2Fgeeksforgeeks-potd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsjomon","download_url":"https://codeload.github.com/itsjomon/geeksforgeeks-potd/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243815040,"owners_count":20352084,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["geeksforgeeks","geeksforgeeks-java","geeksforgeeks-potd","geeksforgeeks-solutions","gfg"],"created_at":"2025-03-16T02:26:11.122Z","updated_at":"2025-03-16T02:26:11.873Z","avatar_url":"https://github.com/itsjomon.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GeeksforGeeks Problem of The day \u003cimg src=\"https://github.com/user-attachments/assets/0ccca86a-4789-4561-98b2-0b8671dc0062\" width=\"40\"\u003e\n\nThis repository contains solutions to problems from ***[GeeksforGeeks](https://www.geeksforgeeks.org/problem-of-the-day)***. The files are named using the date and month of the GFG POTD for easy identification and organization.\n\n## Key Features\n- **Solutions Only**: This repository focuses on providing direct solutions without explanations.\n- **File Naming**: Files are named using the **Month \u0026 Date of the GFG POTD**, e.g., `january13.java` for the \"january 13th\" problem of the day. And the **Topic** is mentioned in the **commit message**.\n- **Language Usage**: Solutions are primarily in **Java**, with potential use of other languages.\n\n## Daily Progress Log - GeeksforGeeks \n\n(to be updated as new topics are added)\n\n| Date       | Problem Name  | Solution Link                         | Problem Link                          |\n|------------|---------------|---------------------------------------|---------------------------------------|\n| 15-03-2025 | Coin Change (Minimum Coins)                           | [Solution](./march15.java)    | [Problem](https://www.geeksforgeeks.org/problems/number-of-coins1824/1) |\n| 14-03-2025 | Coin Change (Count Ways)                              | [Solution](./march14.java)    | [Problem](https://www.geeksforgeeks.org/problems/coin-change2448/1) |\n| 13-03-2025 | 0 - 1 Knapsack Problem                                | [Solution](./march13.java)    | [Problem](https://www.geeksforgeeks.org/problems/0-1-knapsack-problem0945/1) |\n| 12-03-2025 | Min Cost Climbing Stairs                              | [Solution](./march12.java)    | [Problem](https://www.geeksforgeeks.org/problems/min-cost-climbing-stairs/1) |\n| 11-03-2025 | Ways to Reach the n'th Stair                          | [Solution](./march11.java)    | [Problem](https://www.geeksforgeeks.org/problems/count-ways-to-reach-the-nth-stair-1587115620/1) |\n| 10-03-2025 | Edit Distance                                         | [Solution](./march10.java)    | [Problem](https://www.geeksforgeeks.org/problems/edit-distance3702/1) |\n| 09-03-2025 | Palindrome SubStrings                                 | [Solution](./march9.java)     | [Problem](https://www.geeksforgeeks.org/problems/count-palindrome-sub-strings-of-a-string0652/1) |\n| 08-03-2025 | Longest Palindrome in a String                        | [Solution](./march8.java)     | [Problem](https://www.geeksforgeeks.org/problems/longest-palindrome-in-a-string3411/1) |\n| 07-03-2025 | Longest Palindromic Subsequence                       | [Solution](./march7.java)     | [Problem](https://www.geeksforgeeks.org/problems/longest-palindromic-subsequence-1612327878/1) |\n| 06-03-2025 | Longest Common Subsequence                            | [Solution](./march6.java)     | [Problem](https://www.geeksforgeeks.org/problems/longest-common-subsequence-1587115620/1) |\n| 05-03-2025 | Longest String Chain                                  | [Solution](./march5.java)     | [Problem](https://www.geeksforgeeks.org/problems/longest-string-chain/1) |\n| 04-03-2025 | Longest Increasing Subsequence                        | [Solution](./march4.java)     | [Problem](https://www.geeksforgeeks.org/problems/longest-increasing-subsequence-1587115620/1) |\n| 03-03-2025 | Longest Bounded-Difference Subarray                   | [Solution](./march3.java)     | [Problem](https://www.geeksforgeeks.org/problems/longest-bounded-difference-subarray/1) |\n| 02-03-2025 | K Sized Subarray Maximum                              | [Solution](./march2.java)     | [Problem](https://www.geeksforgeeks.org/problems/maximum-of-all-subarrays-of-size-k3101/1) |\n| 01-03-2025 | Decode the string                                     | [Solution](./march1.java)     | [Problem](https://www.geeksforgeeks.org/problems/decode-the-string2444/1) |\n| 28-02-2025 | Evaluation of Postfix Expression                      | [Solution](./february28.java) | [Problem](https://www.geeksforgeeks.org/problems/evaluation-of-postfix-expression1735/1) |\n| 27-02-2025 | Get Min from Stack                                    | [Solution](./february27.java) | [Problem](https://www.geeksforgeeks.org/problems/get-minimum-element-from-stack/1) |\n| 26-02-2025 | Maximum of minimum for every window size              | [Solution](./february26.java) | [Problem](https://www.geeksforgeeks.org/problems/maximum-of-minimum-for-every-window-size3453/1) |\n| 25-02-2025 | Histogram Max Rectangular Area                        | [Solution](./february25.java) | [Problem](https://www.geeksforgeeks.org/problems/maximum-rectangular-area-in-a-histogram-1587115620/1)|\n| 24-02-2025 | Stock span problem                                    | [Solution](./february24.java) | [Problem](https://www.geeksforgeeks.org/problems/stock-span-problem-1587115621/1) |\n| 23-02-2025 | Next Greater Element                                  | [Solution](./february23.java) | [Problem](https://www.geeksforgeeks.org/problems/next-larger-element-1587115620/1) |\n| 22-02-2025 | Longest valid Parentheses                             | [Solution](./february22.java) | [Problem](https://www.geeksforgeeks.org/problems/longest-valid-parentheses5657/1) |\n| 21-02-2025 | Parenthesis Checker                                   | [Solution](./february21.java) | [Problem](https://www.geeksforgeeks.org/problems/parenthesis-checker2744/1) |\n| 20-02-2025 | Find median in a stream                               | [Solution](./february20.java) | [Problem](https://www.geeksforgeeks.org/problems/find-median-in-a-stream-1587115620/1) |\n| 19-02-2025 | Merge K sorted linked lists                           | [Solution](./february19.java) | [Problem](https://www.geeksforgeeks.org/problems/merge-k-sorted-linked-lists/1) |\n| 18-02-2025 | K Closest Points to Origin                            | [Solution](./february18.java) | [Problem](https://www.geeksforgeeks.org/problems/k-closest-points-to-origin--172242/1) |\n| 17-02-2025 | k largest elements                                    | [Solution](./february17.java) | [Problem](https://www.geeksforgeeks.org/problems/k-largest-elements4206/1) |\n| 16-02-2025 | Serialize and deserialize a binary tree               | [Solution](./february16.java) | [Problem](https://www.geeksforgeeks.org/problems/serialize-and-deserialize-a-binary-tree/1) |\n| 15-02-2025 | Lowest Common Ancestor in a BST                       | [Solution](./february15.java) | [Problem](https://www.geeksforgeeks.org/problems/lowest-common-ancestor-in-a-bst/1) |\n| 14-02-2025 | Fixing Two nodes of a BST                             | [Solution](./february14.java) | [Problem](https://www.geeksforgeeks.org/problems/fixed-two-nodes-of-a-bst/1) |\n| 13-02-2025 | Pair Sum in BST                                       | [Solution](./february13.java) | [Problem](https://www.geeksforgeeks.org/problems/find-a-pair-with-given-target-in-bst/1) |\n| 12-02-2025 | k-th Smallest in BST                                  | [Solution](./february12.java) | [Problem](https://www.geeksforgeeks.org/problems/find-k-th-smallest-element-in-bst/1) |\n| 11-02-2025 | Check for BST                                         | [Solution](./february11.java) | [Problem](https://www.geeksforgeeks.org/problems/check-for-bst/1) |\n| 10-02-2025 | K Sum Paths                                           | [Solution](./february10.java) | [Problem](https://www.geeksforgeeks.org/problems/k-sum-paths/1) |\n| 09-02-2025 | Maximum path sum from any node                        | [Solution](./february9.java)  | [Problem](https://www.geeksforgeeks.org/problems/maximum-path-sum-from-any-node/1) |\n| 08-02-2025 | Tree Boundary Traversal                               | [Solution](./february8.java)  | [Problem](https://www.geeksforgeeks.org/problems/boundary-traversal-of-binary-tree/1) |\n| 07-02-2025 | Inorder Traversal                                     | [Solution](./february7.java)  | [Problem](https://www.geeksforgeeks.org/problems/inorder-traversal/1) |\n| 06-02-2025 | Construct Tree from Inorder \u0026 Preorder                | [Solution](./february6.java)  | [Problem](https://www.geeksforgeeks.org/problems/construct-tree-1/1) |\n| 05-02-2025 | Mirror Tree                                           | [Solution](./february5.java)  | [Problem](https://www.geeksforgeeks.org/problems/mirror-tree/1) |\n| 04-02-2025 | Diameter of a Binary Tree                             | [Solution](./february4.java)  | [Problem](https://www.geeksforgeeks.org/problems/diameter-of-binary-tree/1) |\n| 03-02-2025 | Height of Binary Tree                                 | [Solution](./february3.java)  | [Problem](https://www.geeksforgeeks.org/problems/height-of-binary-tree/1) |\n| 02-02-2025 | Level order traversal                                 | [Solution](./february2.java)  | [Problem](https://www.geeksforgeeks.org/problems/level-order-traversal/1) |\n| 01-02-2025 | Word Search                                           | [Solution](./february1.java)  | [Problem](https://www.geeksforgeeks.org/problems/word-search/1) |\n| 31-01-2025 | Solve the Sudoku                                      | [Solution](./january31.java)  | [Problem](https://www.geeksforgeeks.org/problems/solve-the-sudoku-1587115621/1) |\n| 30-01-2025 | N-Queen Problem                                       | [Solution](./january30.java)  | [Problem](https://www.geeksforgeeks.org/problems/n-queen-problem0315/1) |\n| 29-01-2025 | Implement Pow                                         | [Solution](./january29.java)  | [Problem](https://www.geeksforgeeks.org/problems/powx-n/1) | \n| 28-01-2025 | Permutations of a String                              | [Solution](./january28.java)  | [Problem](https://www.geeksforgeeks.org/problems/permutations-of-a-given-string2041/1) |\n| 27-01-2025 | LRU Cache                                             | [Solution](./january27.java)  | [Problem](https://www.geeksforgeeks.org/problems/lru-cache/1) |\n| 26-01-2025 | Remove loop in Linked List                            | [Solution](./january26.java)  | [Problem](https://www.geeksforgeeks.org/problems/remove-loop-in-linked-list/1) |\n| 25-01-2025 | Find the first node of loop in linked list            | [Solution](./january25.java)  | [Problem](https://www.geeksforgeeks.org/problems/find-the-first-node-of-loop-in-linked-list--170645/1) |\n| 24-01-2025 | Detect Loop in linked list                            | [Solution](./january24.java)  | [problem](https://www.geeksforgeeks.org/problems/detect-loop-in-linked-list/1) |\n| 23-01-2025 | Clone List with Next and Random                       | [Solution](./january23.java)  | [problem](https://www.geeksforgeeks.org/problems/clone-a-linked-list-with-next-and-random-pointer/1) |\n| 22-01-2025 | Add Number Linked Lists                               | [Solution](./january22.java)  | [problem](https://www.geeksforgeeks.org/problems/add-two-numbers-represented-by-linked-lists/1) |  \n| 21-01-2025 | Linked List Group Reverse                             | [Solution](./january21.java)  | [problem](https://www.geeksforgeeks.org/problems/reverse-a-linked-list-in-groups-of-given-size/1) |\n| 20-01-2025 | Merge two sorted linked lists                         | [Solution](./january20.java)  | [problem](https://www.geeksforgeeks.org/problems/merge-two-sorted-linked-lists/1) |\n| 19-01-2025 | Rotate a Linked List                                  | [Solution](./january19.java)  | [problem](https://www.geeksforgeeks.org/problems/rotate-a-linked-list/1) |\n| 18-01-2025 | Reverse a linked list                                 | [Solution](./january18.java)  | [problem](https://www.geeksforgeeks.org/problems/reverse-a-linked-list/1) |\n| 17-01-2025 | Product array puzzle                                  | [Solution](./january17.java)  | [problem](https://www.geeksforgeeks.org/problems/product-array-puzzle4525/1) |\n| 16-01-2025 | Largest subarray of 0's and 1's                       | [Solution](./january16.java)  | [problem](https://www.geeksforgeeks.org/problems/largest-subarray-of-0s-and-1s/1) |\n| 15-01-2025 | Longest Subarray with Sum K                           | [Solution](./january15.java)  | [problem](https://www.geeksforgeeks.org/problems/longest-sub-array-with-sum-k0809/1) |\n| 14-01-2025 | Equilibrium Point                                     | [Solution](./january14.java)  | [problem](https://www.geeksforgeeks.org/problems/equilibrium-point-1587115620/1) |\n| 13-01-2025 | Container With Most Water                             | [Solution](./january13.java)  | [problem](https://www.geeksforgeeks.org/problems/container-with-most-water0535/1) |\n| 12-01-2025 |Trapping Rain Water                                    | [Solution](./january12.java)  | [problem](https://www.geeksforgeeks.org/problems/trapping-rain-water-1587115621/1) |\n| 11-01-2025 | Longest substring with distinct characters            | [Solution](./january11.java)  | [problem](https://www.geeksforgeeks.org/problems/longest-distinct-characters-in-string5848/1) |\n| 10-01-2025 | Count distinct elements in every window               | [Solution](./january10.java)  | [problem](https://www.geeksforgeeks.org/problems/count-distinct-elements-in-every-window/1) |\n| 09-01-2025 | Indexes of Subarray Sum                               | [Solution](./january9.java)   | [problem](https://www.geeksforgeeks.org/problems/subarray-with-given-sum-1587115621/1) |\n| 08-01-2025 |Count the number of possible triangles                 | [Solution](./january8.java)   | [problem](https://www.geeksforgeeks.org/problems/count-possible-triangles-1587115620/1) |\n| 07-01-2025 | Pair with given sum in a sorted array                 | [Solution](./january7.java)   | [problem](https://www.geeksforgeeks.org/problems/pair-with-given-sum-in-a-sorted-array4940/1) |\n| 06-01-2025 | Sum Pair closest to target                            | [Solution](./january6.java)   | [problem](https://www.geeksforgeeks.org/problems/pair-in-array-whose-sum-is-closest-to-x1124/1)  |\n| 05-01-2025 | Count Pairs whose sum is less than target             | [Solution](./january5.java)   | [problem](https://www.geeksforgeeks.org/problems/count-pairs-whose-sum-is-less-than-target/1) |\n| 04-01-2025 | Count all triplets with given sum in sorted array     | [Solution](./january4.java)   | [problem](https://www.geeksforgeeks.org/problems/count-all-triplets-with-given-sum-in-sorted-array/1) | \n| 03-01-2025 |Count Subarrays with given XOR                         | [Solution](./january3.java)   | [problem](https://www.geeksforgeeks.org/problems/count-subarray-with-given-xor/1) |\n| 02-01-2025 | Subarrays with sum K                                  | [Solution](./january2.java)   | [problem](https://www.geeksforgeeks.org/problems/subarrays-with-sum-k/1) |\n| 01-01-2025 | Print Anagrams Together                               | [Solution](./january1.java)   | [problem](https://www.geeksforgeeks.org/problems/print-anagrams-together/1) |\n\n\n\n## 🌟 *Don’t Forget to Star!*\nIf you find this repo useful, please consider giving it a star ⭐. It helps others discover it too!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsjomon%2Fgeeksforgeeks-potd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsjomon%2Fgeeksforgeeks-potd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsjomon%2Fgeeksforgeeks-potd/lists"}