LeetCode
Topics to Practice
Click to Expand and View Problems Solved
Arrays
- https://leetcode.com/problems/two-sum/ (Easy)
- https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/ (Easy)
- https://leetcode.com/problems/build-array-from-permutation/ (Easy)
- https://leetcode.com/problems/concatenation-of-array/ (Easy)
- https://leetcode.com/problems/running-sum-of-1d-array/ (Easy)
- https://leetcode.com/problems/richest-customer-wealth/ (Easy)
- https://leetcode.com/problems/shuffle-the-array/ (Easy)
- https://leetcode.com/problems/number-of-good-pairs/ (Easy)
- https://leetcode.com/problems/how-many-numbers-are-smaller-than-the-current-number/ (Easy)
- https://leetcode.com/problems/create-target-array-in-the-given-order/ (Easy)
- https://leetcode.com/problems/check-if-the-sentence-is-pangram/ (Easy)
- https://leetcode.com/problems/count-items-matching-a-rule/ (Easy)
- https://leetcode.com/problems/find-the-highest-altitude/ (Easy)
- https://leetcode.com/problems/flipping-an-image/ (Easy)
- https://leetcode.com/problems/find-first-palindromic-string-in-the-array/ (Easy)
Queue
- https://leetcode.com/problems/implement-queue-using-stacks/ (Easy)
- https://leetcode.com/problems/time-needed-to-buy-tickets/ (Easy)
- https://www.codingninjas.com/reverse-first-k-elements-of-queue (Easy)
- https://leetcode.com/problems/design-circular-queue/ (Medium)
- https://leetcode.com/problems/find-the-winner-of-the-circular-game/ (Medium)
- https://leetcode.com/problems/design-front-middle-back-queue/ (Medium)
- https://leetcode.com/problems/product-of-the-last-k-numbers/ (Medium)
Search
- https://leetcode.com/problems/binary-search/ (Very Easy)
- https://leetcode.com/problems/richest-customer-wealth/ (Very Easy)
- https://leetcode.com/problems/sqrtx/ (Very Easy)
- https://leetcode.com/problems/first-bad-version/ (Very Easy)
- https://leetcode.com/problems/valid-perfect-square/ (Very Easy)
- https://leetcode.com/problems/guess-number-higher-or-lower/ (Very Easy)
- https://leetcode.com/problems/find-smallest-letter-greater-than-target/ (Easy)
- https://leetcode.com/problems/peak-index-in-a-mountain-array/ (Easy)
- https://leetcode.com/problems/find-peak-element/ (Easy)
- https://leetcode.com/problems/arranging-coins/ (Easy)
- https://leetcode.com/problems/check-if-n-and-its-double-exist/ (Easy)
- https://leetcode.com/problems/fair-candy-swap/ (Easy)
- https://leetcode.com/problems/kth-missing-positive-number/ (Easy)
- https://leetcode.com/problems/intersection-of-two-arrays/ (Easy)
- https://leetcode.com/problems/intersection-of-two-arrays-ii/ (Easy)
- https://leetcode.com/problems/special-array-with-x-elements-greater-than-or-equal-x/ (Easy)
- https://leetcode.com/problems/search-insert-position/ (Easy)
- https://leetcode.com/problems/count-negative-numbers-in-a-sorted-matrix/ (Easy)
- https://www.geeksforgeeks.org/find-rotation-count-rotated-sorted-array/ (Easy)
- https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/ (Easy)
- https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/ (Medium)
- https://leetcode.com/problems/find-right-interval/ (Medium)
- https://leetcode.com/problems/find-peak-element/ (Medium)
- https://leetcode.com/problems/find-peak-element/ (Medium)
- https://leetcode.com/problems/reach-a-number/ (Medium)
- https://leetcode.com/problems/search-a-2d-matrix/ (Medium)
- https://leetcode.com/problems/search-a-2d-matrix-ii/ (Medium)
- https://leetcode.com/problems/search-in-rotated-sorted-array/ (Medium)
- https://leetcode.com/problems/search-in-rotated-sorted-array-ii/ (Medium)
- https://leetcode.com/problems/single-element-in-a-sorted-array/ (Medium)
- https://leetcode.com/problems/find-in-mountain-array/ (Hard)
Sorting
-
BubbleSort
-
CycleSort
- https://leetcode.com/problems/missing-number/ (Easy)
- https://leetcode.com/problems/set-mismatch/ (Easy)
- https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array/submissions/ (Easy)
- https://leetcode.com/problems/find-the-duplicate-number/ (Medium)
- https://leetcode.com/problems/find-all-duplicates-in-an-array/ (Medium)
-
InsertionSort
-
SelectionSort
Stack
- https://leetcode.com/problems/min-stack/ (Easy)
- https://leetcode.com/problems/backspace-string-compare/ (Easy)
- https://leetcode.com/problems/implement-stack-using-queues/ (Easy)
- https://leetcode.com/problems/valid-parentheses/ (Easy)
- https://leetcode.com/problems/next-greater-element-i/ (Easy)
- https://www.interviewbit.com/problems/nearest-smaller-element/# (Easy)
- https://practice.geeksforgeeks.org/problems/sort-a-stack/1 (Easy)
- https://leetcode.com/problems/largest-rectangle-in-histogram/ (Hard)
- https://leetcode.com/problems/maximal-rectangle/ (Hard)
Strings
Concepts/Miscelleneous
-
recursion
- Print Number from 1 to N && from N to 1 && from 1 to N and N to 1 in same
- Sum and Product (Factorial) of Number from 1 To N
- Sum and Product of Digits in a Number
- Reverse A Number
- Maximize The Number By Swapping Adjacent Two Digits (Not Yet Solved)
-
binarySearch
- Order Agnostic Binary Search (Binary Search)
- Search in Infinite Array (Binary Search)
- Find Binary Search Ceiling Value (Binary Search)
- Find Binary Search Floor Value(Binary Search)
- Find Pivot in Rotated Sorted Array (Binary Search)
- Find Pivot in Rotated Sorted Element with Duplicates (Binary Search)
- Rotation Count for Rotated Array (Binary Search)
- Search in Sorted Row and Column Wise Matrix (Binary Search)
- Search a Matrix sorted Row and Column wise (Binary Search , Matrix)
- Search a Sorted Matrix (Binary Search , Matrix)
Feel free to contribute
Guidelines we follow :
- folderName and fileName should be in pascalCase
- fileName should be same name as the problemName
- Contribute in any Language
- Update ReadMe file simulateneously
- try to explain your approach as much as possible
If prefix start with leetcode it means the solutions was for Interactive Leetcode problem
Thank You !!