/ds-and-algo

All problems, concepts and notes for ds and algos

Primary LanguageJava

ds-and-algo

All problems, concepts and notes for ds and algos

Patterns:

  1. https://github.com/sksaifuddin/ds-and-algo/blob/main/patterns/Pattern1.java
  2. https://github.com/sksaifuddin/ds-and-algo/blob/main/patterns/Pattern2.java
  3. https://github.com/sksaifuddin/ds-and-algo/blob/main/patterns/Pattern3.java
  4. https://github.com/sksaifuddin/ds-and-algo/blob/main/patterns/Pattern4.java
  5. https://github.com/sksaifuddin/ds-and-algo/blob/main/patterns/Pattern5.java
  6. https://github.com/sksaifuddin/ds-and-algo/blob/main/patterns/Pattern6.java

Recursion Basics:

  1. https://github.com/sksaifuddin/ds-and-algo/blob/main/recursion/basics/Factorial.java
  2. https://github.com/sksaifuddin/ds-and-algo/blob/main/recursion/basics/PowerOfNumber.java
  3. https://github.com/sksaifuddin/ds-and-algo/blob/main/recursion/basics/PrintNTo1Numbers.java
  4. https://github.com/sksaifuddin/ds-and-algo/blob/main/recursion/basics/ReverseArray.java
  5. https://github.com/sksaifuddin/ds-and-algo/blob/main/recursion/basics/SumOfDigits.java
  6. https://github.com/sksaifuddin/ds-and-algo/blob/main/recursion/basics/SumOfNNatualNumbers.java

Arrays:

Basics:

  1. https://github.com/sksaifuddin/ds-and-algo/blob/main/arrays/basics/DynamicArray.java
  2. https://github.com/sksaifuddin/ds-and-algo/blob/main/arrays/basics/SingleDimensionArray.java

Operations: (basic things with array which you should know how to do)

  1. https://github.com/sksaifuddin/ds-and-algo/blob/main/arrays/operations/LeftRotateArrayOne.java
  2. https://github.com/sksaifuddin/ds-and-algo/blob/main/arrays/operations/ReverseArray.java
  3. https://leetcode.com/problems/rotate-array/ (rotate array D places)
  4. https://practice.geeksforgeeks.org/problems/second-largest3735/1?utm_source=youtube&utm_medium=collab_striver_ytdescription&utm_campaign=second-largest
  5. https://practice.geeksforgeeks.org/problems/check-if-an-array-is-sorted0701/1?utm_source=youtube&utm_medium=collab_striver_ytdescription&utm_campaign=check-if-an-array-is-sorted
  6. https://leetcode.com/problems/check-if-array-is-sorted-and-rotated/description/

Easy

  1. https://leetcode.com/problems/move-zeroes/
  2. https://leetcode.com/problems/remove-duplicates-from-sorted-array/description/
  3. https://leetcode.com/problems/contains-duplicate/