{"id":26513587,"url":"https://github.com/ankush-003/algorithms-in-cpp","last_synced_at":"2025-03-21T04:29:01.777Z","repository":{"id":147234944,"uuid":"609205873","full_name":"ankush-003/Algorithms-in-CPP","owner":"ankush-003","description":"learning algorithms in C++","archived":false,"fork":false,"pushed_at":"2024-01-13T06:56:36.000Z","size":4098,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-15T04:07:01.104Z","etag":null,"topics":["algorithms","cpp","dsa"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ankush-003.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-03-03T15:44:38.000Z","updated_at":"2024-04-15T04:07:01.105Z","dependencies_parsed_at":"2023-07-10T12:00:55.453Z","dependency_job_id":"415daccb-59f2-439b-bfec-499d63704625","html_url":"https://github.com/ankush-003/Algorithms-in-CPP","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankush-003%2FAlgorithms-in-CPP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankush-003%2FAlgorithms-in-CPP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankush-003%2FAlgorithms-in-CPP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankush-003%2FAlgorithms-in-CPP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ankush-003","download_url":"https://codeload.github.com/ankush-003/Algorithms-in-CPP/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244736756,"owners_count":20501536,"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":["algorithms","cpp","dsa"],"created_at":"2025-03-21T04:29:01.202Z","updated_at":"2025-03-21T04:29:01.766Z","avatar_url":"https://github.com/ankush-003.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Algorithms in C++\n\nA repository containing all the resources i'm using to learn c++ and algorithms\n\n## DSA Grind 🔥\n\nVisit [DSA Grind Notion Site](https://ankush003.notion.site/4249f277956444e29b7bf612178dc879?v=85debb4d761e4ad0bfd5819e57fa0cbc\u0026pvs=4)\n\n| Number | Question                                   | Tags                                       | Level   | URL                                                                                           | Platform | Date                 |\n|--------|-------------------------------------------|--------------------------------------------|---------|-----------------------------------------------------------------------------------------------|----------|----------------------|\n| 47     | Validate Binary Search Tree              | Binary Search Tree, Binary Tree, DFS, Tree | Medium  | [Leetcode](https://leetcode.com/problems/validate-binary-search-tree/)                      | Leetcode | October 28, 2023    |\n| 46     | Combination Sum                           | Arrays, Backtracking                       | Revisit | [Leetcode](https://leetcode.com/problems/combination-sum/)                                    | Leetcode | October 26, 2023    |\n| 45     | Binary Tree Level Order Traversal         | BFS, Binary Tree, Tree                    | Medium  | [Leetcode](https://leetcode.com/problems/binary-tree-level-order-traversal/)                  | Leetcode | October 25, 2023    |\n| 44     | Subset Sums                               | Recursion                                  | Medium  | [GFG](https://practice.geeksforgeeks.org/problems/subset-sums2234/1)                         | GFG      | October 24, 2023    |\n| 43     | Lowest Common Ancestor of a Binary Search Tree | Binary Search Tree, Binary Tree, DFS, Tree | Medium  | [Leetcode](https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree/)  | Leetcode | October 24, 2023    |\n| 42     | Diameter of Binary Tree                   | Binary Tree, DFS, Tree                   | Easy    | [Leetcode](https://leetcode.com/problems/diameter-of-binary-tree/description/)             | Leetcode | October 16, 2023    |\n| 41     | Same Tree                                 | BFS, Binary Tree, DFS, Tree              | Easy    | [Leetcode](https://leetcode.com/problems/same-tree/description/)                               | Leetcode | October 11, 2023    |\n| 40     | Sub-tree of Another Tree                  | DFS, Hash Table, Tree                    | Easy    | [Leetcode](https://leetcode.com/problems/subtree-of-another-tree/description/)                | Leetcode | October 11, 2023    |\n| 39     | Maximum Depth of Binary Tree              | BFS, Binary Tree, DFS, Tree              | Easy    | [Leetcode](https://leetcode.com/problems/maximum-depth-of-binary-tree/description/)          | Leetcode | October 9, 2023     |\n| 38     | Invert Binary Tree                        | BFS, Binary Tree, DFS, Tree              | Easy    | [Leetcode](https://leetcode.com/problems/invert-binary-tree/)                                  | Leetcode | October 9, 2023     |\n| 37     | Intersection of Two Linked Lists          | Hash Table, Linked List, Two Pointers     | Easy    | [Leetcode](https://leetcode.com/problems/intersection-of-two-linked-lists/)                   | Leetcode | October 7, 2023     |\n| 36     | Add Two Numbers                           | Linked List, Recursion                   | Medium  | [Leetcode](https://leetcode.com/problems/add-two-numbers/description/)                         | Leetcode | September 16, 2023  |\n| 35     | Palindrome Linked List                    | Linked List, Stack, Two Pointers         | Easy    | [Leetcode](https://leetcode.com/problems/palindrome-linked-list/description/)                  | Leetcode | September 18, 2023  |\n| 34     | Reorder List                              | Linked List, Recursion, Two Pointers    | Medium  | [Leetcode](https://leetcode.com/problems/reorder-list/)                                        | Leetcode | September 9, 2023   |\n| 33     | Reverse Linked List II                    | Linked List                             | Medium  | [Leetcode](https://leetcode.com/problems/reverse-linked-list-ii/)                               | Leetcode | September 7, 2023   |\n| 32     | Split Linked List in Parts                | Linked List                             | Medium  | [Leetcode](https://leetcode.com/problems/split-linked-list-in-parts/)                           | Leetcode | September 6, 2023   |\n| 31     | Copy List with Random Pointer             | Hash Table, Linked List                 | Medium  | [Leetcode](https://leetcode.com/problems/copy-list-with-random-pointer/)                        | Leetcode | September 5, 2023   |\n| 30     | Delete Node in a Linked List              | Linked List                             | Medium  | [Leetcode](https://leetcode.com/problems/delete-node-in-a-linked-list/)                         | Leetcode | September 4, 2023   |\n| 29     | Remove Nth node from back                 | Linked List, Two Pointers               | Medium  | N/A                                                                                           | N/A      | September 3, 2023   |\n| 28     | Middle of Linked List                     | Linked List                             | Easy    | N/A                                                                                           | Leetcode | September 3, 2023   |\n| 27     | Maximum Product Subarray                 | Arrays, Dynamic Programming             | Medium  | N/A                                                                                           | Leetcode | September 3, 2023   |\n| 26     | Merge Two Sorted Lists                    | Linked List, Recursion                  | Easy    | [Leetcode](https://leetcode.com/problems/merge-two-sorted-lists/description/)                     | Leetcode | August 30, 2023    |\n| 25     | Koko Eating Bananas                       | Arrays, Binary Search                   | Medium  | N/A                                                                                           | Leetcode | August 27, 2023    |\n| 24     | Reverse Linked List                        | Linked List                             | Easy    | N/A                                                                                           | Leetcode | August 23, 2023    |\n| 23     | Search in Rotated Sorted Array             | Arrays, Binary Search                   | Medium  | N/A                                                                                           | N/A      | August 22, 2023    |\n| 22     | Find minimum in rotated sorted array       | Arrays, Binary Search                   | Medium  | N/A                                                                                           | N/A      | N/A                |\n| 21     | Determine the Minimum Sum of a k-avoiding Array | Arrays, Hash Table                   | Medium  | N/A                                                                                           | Leetcode | August 20, 2023    |\n| 20     | Car Fleet                                  | Stack                                   | Medium  | N/A                                                                                           | Leetcode | August 19, 2023    |\n| 19     | Minimum Window Substring                   | Hash Table, Sliding Window, String     | Hard    | N/A                                                                                           | Leetcode | August 17, 2023    |\n| 18     | Longest Repeating Character Replacement     | Sliding Window, String                 | Medium  | N/A                                                                                           | Leetcode | N/A                |\n| 17     | Trapping Rainwater                         | Arrays, Two Pointers                   | Hard    | N/A                                                                                           | Leetcode | N/A                |\n| 16     | Longest Sub-string Without Repeating Characters | Sliding Window, String            | Medium  | [Leetcode](https://leetcode.com/problems/longest-substring-without-repeating-characters/) | Leetcode | N/A                |\n| 15     | Three Sum                                  | Arrays, Two Pointers                   | Medium  | N/A                                                                                           | Leetcode | N/A                |\n| 14     | Valid Palindrome                           | Two Pointers, String                   | Easy    | N/A                                                                                           | Leetcode | N/A                |\n| 13     | Buy and sell Stock                        | Arrays                                  | Easy    | [Leetcode](https://leetcode.com/problems/best-time-to-buy-and-sell-stock/description/)       | Leetcode | N/A                |\n| 12     | Next Permutation                          | Arrays                                  | Medium  | [Leetcode](https://leetcode.com/problems/next-permutation/description/)                       | Leetcode | August 5, 2023     |\n| 11     | Longest Consecutive Sequence               | Arrays, Hash Table                      | Medium  | [Leetcode](https://leetcode.com/problems/longest-consecutive-sequence/description/)          | Leetcode | August 9, 2023     |\n| 10     | Product of array except self              | Arrays, Prefix Sum                      | Medium  | N/A                                                                                           | Leetcode | N/A                |\n| 9      | Top K Elements                            | Arrays, Hash Table, Heap, Sorting       | Medium  | [Leetcode](https://leetcode.com/problems/top-k-frequent-elements/)                            | Leetcode | N/A                |\n| 8      | Set Matrix Zeros                          | Arrays                                  | Medium  | [Leetcode](https://leetcode.com/problems/set-matrix-zeroes/description/)                       | Leetcode | N/A                |\n| 7      | Pascal’s Triangle                         | Arrays, Dynamic Programming             | Easy    | N/A                                                                                           | Leetcode | N/A                |\n| 6      | Group Anagrams                            | Arrays                                  | Medium  | N/A                                                                                           | Leetcode | N/A                |\n| 5      | Two Sum                                   | Arrays                                  | Easy    | N/A                                                                                           | Leetcode | N/A                |\n| 4      | Is Subsequence                            | Arrays                                  | Easy    | [Leetcode](https://leetcode.com/problems/is-subsequence/description/)                          | Leetcode | N/A                |\n| 3      | Array Concatenation                       | Arrays                                  | Easy    | N/A                                                                                           | Leetcode | N/A                |\n| 2      | Valid Anagram                             | Hash Table, Sorting, String             | Easy    | N/A                                                                                           | Leetcode | N/A                |\n| 1      | Contains Duplicate                        | Arrays, Hash Table, Sorting             | Easy    | N/A                                                                                           | Leetcode | N/A                |\n\n\n## References\n\n - [DSA Roadmap](https://www.geeksforgeeks.org/complete-roadmap-to-learn-dsa-from-scratch/?ref=lbp)\n - [Hackerrank CPP](https://www.hackerrank.com/domains/cpp?filters%5Bstatus%5D%5B%5D=unsolved\u0026badge_type=cpp)\n - [LearnCPP](https://www.learncpp.com/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankush-003%2Falgorithms-in-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fankush-003%2Falgorithms-in-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankush-003%2Falgorithms-in-cpp/lists"}