https://github.com/dhrupad17/algorithm2_leetcode
In mathematics and computer science, an algorithm is defined as a process or set of rules to be followed in calculations or other problem-solving operations. This practical method is often used in calculations, data processing, and automatic reasoning because it contains clear and concise instructions and can be executed in limited time and space complexities.
https://github.com/dhrupad17/algorithm2_leetcode
backtracking bfs-algorithm binary-search bitmanipulation dfs-algorithm dynamic-programming recursion sliding-windows two-pointers
Last synced: 10 months ago
JSON representation
In mathematics and computer science, an algorithm is defined as a process or set of rules to be followed in calculations or other problem-solving operations. This practical method is often used in calculations, data processing, and automatic reasoning because it contains clear and concise instructions and can be executed in limited time and space complexities.
- Host: GitHub
- URL: https://github.com/dhrupad17/algorithm2_leetcode
- Owner: dhrupad17
- License: mit
- Created: 2022-08-16T03:39:08.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-01T14:32:59.000Z (over 3 years ago)
- Last Synced: 2025-01-16T07:56:21.826Z (11 months ago)
- Topics: backtracking, bfs-algorithm, binary-search, bitmanipulation, dfs-algorithm, dynamic-programming, recursion, sliding-windows, two-pointers
- Homepage: https://leetcode.com/study-plan/algorithm/?progress=fss6tkg
- Size: 58.6 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [LeetCode Algorithm-II](https://leetcode.com/study-plan/algorithm/?progress=fss6tkg)

## Questions
| DAYS | LEETCODE PROBLEM NO | NAME | DIFFICULTY | SOLUTIONS |
| :-----| :------------------ | :---------------------------- | :----------- | :------------------------------------------------------------ |
| DAY1 | 34 | [Find First and Last Position of Element in Sorted Array](https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY1P1.md) |
| | 33 | [Search in Rotated Sorted Array](https://leetcode.com/problems/search-in-rotated-sorted-array/) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY1P2.md) |
| | 74 | [Search a 2D Matrix](https://leetcode.com/problems/search-a-2d-matrix/) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY1P3.md) |
| DAY2 | 153 | [Find Minimum in Rotated Sorted Array](https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY2P1.md) |
| | 162 | [Find Peak Element](https://leetcode.com/problems/find-peak-element/) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY2P2.md) |
| DAY3 | 82 | [Remove Duplicates from Sorted List II](https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii/) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY3P1.md) |
| | 15 | [3Sum](https://leetcode.com/problems/3sum/) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY3P2.md) |
| DAY4 | 844 | [Backspace String Compare](https://leetcode.com/problems/backspace-string-compare/) | `Easy` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY4P1.md) |
| | 986 | [Interval List Intersections](https://leetcode.com/problems/interval-list-intersections/) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY4P2.md) |
| | 11 | [Container With Most Water](https://leetcode.com/problems/container-with-most-water/) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY4P3.md) |
| DAY5 | 438 | [Find All Anagrams in a String](https://leetcode.com/problems/find-all-anagrams-in-a-string/) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY5P1.md) |
| | 713 | [Subarray Product Less Than K](https://leetcode.com/problems/subarray-product-less-than-k/) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY5P2.md) |
| | 209 | [Minimum Size Subarray Sum](https://leetcode.com/problems/minimum-size-subarray-sum/) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY5P3.md) |
| DAY6 | 200 | [Number of Islands](https://leetcode.com/problems/number-of-islands/) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY6P1.md) |
| | 547 | [Number of Provinces](https://leetcode.com/problems/number-of-provinces/) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY6P2.md) |
| DAY7 | 117 | [Populating Next Right Pointers in Each Node II](https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii/) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY7P1.md) |
| | 572 | [Subtree of Another Tree](https://leetcode.com/problems/subtree-of-another-tree/) | `Easy` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY7P2.md) |
| DAY8 | 1091 | [Shortest Path in Binary Matrix](https://leetcode.com/problems/shortest-path-in-binary-matrix/) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY8P1.md) |
| | 130 | [Surrounded Regions](https://leetcode.com/problems/surrounded-regions/) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY8P2.md) |
| | 797 | [All Paths From Source to Target](https://leetcode.com/problems/all-paths-from-source-to-target/) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY8P3.md) |
| DAY9 | 78 | [Subsets](https://leetcode.com/problems/subsets/) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY9P1.md) |
| | 90 | [Subsets II](https://leetcode.com/problems/subsets-ii/) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY9P2.md) |
| DAY10 | 47 | [Permutations II](https://leetcode.com/problems/permutations-ii/) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY10P1.md) |
| | 39 | [Combination Sum](https://leetcode.com/problems/combination-sum/) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY10P2.md) |
| | 40 | [Combination Sum II](https://leetcode.com/problems/combination-sum-ii/) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY10P3.md) |
| DAY11 | 17 | [Letter Combinations of a Phone Number](https://leetcode.com/problems/letter-combinations-of-a-phone-number/) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY11P1.md) |
| | 22 | [Generate Parentheses](https://leetcode.com/problems/generate-parentheses/) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY11P2.md) |
| | 79 | [Word Search](https://leetcode.com/problems/word-search/) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY11P3.md) |
| DAY12 | 213 | [House Robber II](https://leetcode.com/problems/house-robber-ii/) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY12P1.md) |
| | 55 | [Jump Game](https://leetcode.com/problems/jump-game/) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY12P2.md) |
| DAY13 | 45 | [Jump Game II](https://leetcode.com/problems/jump-game-ii/) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY13P1.md) |
| | 62 | [Unique Paths](https://leetcode.com/problems/unique-paths/) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY13P2.md) |
| DAY14 | 5 | [Longest Palindromic Substring](https://leetcode.com/problems/longest-palindromic-substring/) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY14P1.md) |
| | 413 | [Arithmetic Slices](https://leetcode.com/problems/arithmetic-slices/) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY14P2.md) |
| DAY15 | 91 | [Decode Ways](https://leetcode.com/problems/decode-ways/?envType=study-plan&id=algorithm-ii) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY15P1.md) |
| | 139 | [Word Break](https://leetcode.com/problems/word-break/?envType=study-plan&id=algorithm-ii) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY15P2.md) |
| DAY16 | 300 | [Longest Increasing Subsequence](https://leetcode.com/problems/longest-increasing-subsequence/?envType=study-plan&id=algorithm-ii) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY16P1.md) |
| | 673 | [Number of Longest Increasing Subsequence](https://leetcode.com/problems/number-of-longest-increasing-subsequence/?envType=study-plan&id=algorithm-ii) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY16P2.md) |
| DAY17 | 1143 | [Longest Common Subsequence](https://leetcode.com/problems/longest-common-subsequence/?envType=study-plan&id=algorithm-ii) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY17P1.md) |
| | 583 | [Delete Operation for Two Strings](https://leetcode.com/problems/delete-operation-for-two-strings/?envType=study-plan&id=algorithm-ii) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY17P2.md) |
| DAY18 | 322 | [Coin Change](https://leetcode.com/problems/coin-change/?envType=study-plan&id=algorithm-ii) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY18P1.md) |
| | 343 | [Integer Break](https://leetcode.com/problems/integer-break/?envType=study-plan&id=algorithm-ii) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY18P2.md) |
| DAY19 | 201 | [Bitwise AND of Numbers Range](https://leetcode.com/problems/bitwise-and-of-numbers-range/?envType=study-plan&id=algorithm-ii) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY19P1.md) |
| DAY20 | 384 | [Shuffle an Array](https://leetcode.com/problems/shuffle-an-array/?envType=study-plan&id=algorithm-ii) | `Medium` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY20P1.md) |
| DAY21 | 202 | [Happy Number](https://leetcode.com/problems/happy-number/?envType=study-plan&id=algorithm-ii) | `Easy` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY21P1.md) |
| | 149 | [Max Points on a Line](https://leetcode.com/problems/max-points-on-a-line/?envType=study-plan&id=algorithm-ii) | `Hard` | [👉Click Here](https://github.com/dhrupad17/Algorithm2_Leetcode/blob/main/DAY21P2.md) |