https://github.com/liquidatorcoder/dsa-practice
https://github.com/liquidatorcoder/dsa-practice
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/liquidatorcoder/dsa-practice
- Owner: LiquidatorCoder
- Created: 2021-10-21T11:01:01.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-30T12:45:31.000Z (over 4 years ago)
- Last Synced: 2025-01-27T16:47:49.250Z (over 1 year ago)
- Size: 74.2 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DSA
## Data Structures
### 1. Arrays
| Problem |Difiiculty| Link | Solved |
| ---------------------- |:-------------:|:-------------:|:-------------:|
| Non-decreasing arrays |🟢| [🔗](https://www.hackerearth.com/practice/data-structures/arrays/1-d/practice-problems/algorithm/make-it-non-decreasing-7d3391fd/) |✔️|
| Build Array from Permutation |🟢| [🔗](https://leetcode.com/problems/build-array-from-permutation/) |✔️|
| Two Sum |🟢| [🔗](https://leetcode.com/problems/two-sum/) |✔️|
| Remove Duplicates from Sorted Array |🟢| [🔗](https://leetcode.com/problems/remove-duplicates-from-sorted-array/) |✔️|
| Maximize the sum |🟢| [🔗](https://www.hackerearth.com/practice/data-structures/arrays/1-d/practice-problems/algorithm/maximize-sum-0423b95e/) |✔️|
| Remove Element |🟢| [🔗](https://leetcode.com/problems/remove-element/) |✔️|
| Maximum Subarray |🟢| [🔗](https://leetcode.com/problems/maximum-subarray/) |✔️|
| Transpose Matrix |🟢| [🔗](https://www.hackerearth.com/practice/data-structures/arrays/multi-dimensional/tutorial/) |✔️|
| Degree of an Array |🟢| [🔗](https://leetcode.com/problems/degree-of-an-array/) |✔️|
| Monk and Inversions |🟢| [🔗](https://www.hackerearth.com/practice/codemonk/) |⛔|
| Contains Duplicate |🟢| [🔗](https://leetcode.com/problems/contains-duplicate) |✔️|
| Merge Sorted Array |🟢| [🔗](https://leetcode.com/problems/merge-sorted-array/) |✔️|
| Intersection of Two Arrays |🟢| [🔗](https://leetcode.com/problems/intersection-of-two-arrays/) |✔️|
| Intersection of Two Arrays II |🟢| [🔗](https://leetcode.com/problems/intersection-of-two-arrays-ii/) |✔️|
| Best Time to Buy and Sell Stock |🟢| [🔗](https://leetcode.com/problems/best-time-to-buy-and-sell-stock/) |✔️|
| Convert 1D Array Into 2D Array |🟢| [🔗](https://leetcode.com/problems/convert-1d-array-into-2d-array/) |✔️|
| Reshape the Matrix |🟢| [🔗](https://leetcode.com/problems/reshape-the-matrix/) |✔️|
| Subsets |🟠| [🔗](https://leetcode.com/problems/subsets/) |✔️|
### 2. Strings
| Problem |Difiiculty| Link | Solved |
| ---------------------- |:-------------:|:-------------:|:-------------:|
| Sort the Substring |🟢| [🔗](https://www.hackerearth.com/practice/algorithms/string-algorithm/basics-of-string-manipulation/tutorial/) |✔️|
| Bracket sequences |🟢| [🔗](https://www.hackerearth.com/practice/data-structures/arrays/1-d/practice-problems/algorithm/bracket-sequence-1-40eab940/) |⛔|
| Final Value of Variable After Performing Operations |🟢| [🔗](https://leetcode.com/problems/final-value-of-variable-after-performing-operations/) |✔️|
| Valid Parentheses |🟢| [🔗](https://leetcode.com/problems/valid-parentheses/) |✔️|
| Reverse Words in a String III |🟢| [🔗](https://leetcode.com/problems/reverse-words-in-a-string-iii/) |✔️|
### 3. Linked List
| Problem |Difiiculty| Link | Solved |
| ---------------------- |:-------------:|:-------------:|:-------------:|
| Convert Binary Number in a Linked List to Integer |🟢| [🔗](https://leetcode.com/problems/convert-binary-number-in-a-linked-list-to-integer/) |✔️|
| Middle of the Linked List |🟢| [🔗](https://leetcode.com/problems/middle-of-the-linked-list/) |✔️|
| Delete the Middle Node of a Linked List |🟠| [🔗](https://leetcode.com/problems/delete-the-middle-node-of-a-linked-list/) |✔️|
| Swap Nodes in Pairs |🟠| [🔗](https://leetcode.com/problems/swap-nodes-in-pairs/) |✔️|
| Remove Nth Node From End of List |🟠| [🔗](https://leetcode.com/problems/remove-nth-node-from-end-of-list/) |✔️|
| Remove Duplicates from Sorted List |🟢| [🔗](https://leetcode.com/problems/remove-duplicates-from-sorted-list/) |✔️|
### 4. Tree
| Problem |Difiiculty| Link | Solved |
| ---------------------- |:-------------:|:-------------:|:-------------:|
| Binary Tree Inorder Traversal |🟢| [🔗](https://leetcode.com/problems/binary-tree-inorder-traversal/) |✔️|
| Binary Tree Preorder Traversal |🟢| [🔗](https://leetcode.com/problems/binary-tree-preorder-traversal/) |✔️|
| Binary Tree Postorder Traversal |🟢| [🔗](https://leetcode.com/problems/binary-tree-postorder-traversal/) |✔️|
| Two Sum IV - Input is a BST |🟢| [🔗](https://leetcode.com/problems/two-sum-iv-input-is-a-bst/) |✔️|
## Algos
### 1. Binary Search
| Problem |Difiiculty| Link | Solved |
| ---------------------- |:-------------:|:-------------:|:-------------:|
| Binary Search |🟢| [🔗](https://leetcode.com/problems/binary-search/) |✔️|
| First Bad Version |🟢| [🔗](https://leetcode.com/problems/first-bad-version/) |✔️|
| Search Insert Position |🟢| [🔗](https://leetcode.com/problems/search-insert-position/) |✔️|
### 2. Two Pointers
| Problem |Difiiculty| Link | Solved |
| ---------------------- |:-------------:|:-------------:|:-------------:|
| Squares of a Sorted Array |🟢| [🔗](https://leetcode.com/problems/squares-of-a-sorted-array/) |✔️|
| Rotate Array |🟠| [🔗](https://leetcode.com/problems/rotate-array/) |✔️|
| Move Zeroes |🟢| [🔗](https://leetcode.com/problems/move-zeroes/) |✔️|
| Two Sum II |🟢| [🔗](https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/) |✔️|
| Reverse String |🟢| [🔗](https://leetcode.com/problems/reverse-string/) |✔️|
| Remove Nth Node From End of List |🟠| [🔗](https://leetcode.com/problems/remove-nth-node-from-end-of-list/) |✔️|
### 3. Recursion/Backtracking
| Problem |Difiiculty| Link | Solved |
| ---------------------- |:-------------:|:-------------:|:-------------:|
| Subsets |🟠| [🔗](https://leetcode.com/problems/subsets/) |✔️|
| Letter Case Permutation |🟠| [🔗](https://leetcode.com/problems/letter-case-permutation/) |✔️|
### 4. Dynamic Programming
| Problem |Difiiculty| Link | Solved |
| ---------------------- |:-------------:|:-------------:|:-------------:|
| Fibonacci Number |🟢| [🔗](https://leetcode.com/problems/fibonacci-number/) |✔️|
| Climbing Stairs |🟢| [🔗](https://leetcode.com/problems/climbing-stairs/) |✔️|
| N-th Tribonacci Number |🟢| [🔗](https://leetcode.com/problems/n-th-tribonacci-number/) |✔️|
### 5. Bit manipulation
| Problem |Difiiculty| Link | Solved |
| ---------------------- |:-------------:|:-------------:|:-------------:|
| Subsets |🟠| [🔗](https://leetcode.com/problems/subsets/) |✔️|