Giter Club home page Giter Club logo

complete-dsa-preparation_forkrepo's Introduction

Complete DSA Preparation
Complete DSA Preparation Course

Make sure to โญ my DSA repo so you can keep up to date on any daily progress!

Table of Contents

๐ŸŸฉ ๐ŸŸง ๐ŸŸฅ

Mathematics

# Title Code Document Video Difficulty Tag
1 Absolute value Theory ๐ŸŸฉ Easy abs()
2 Celsius To Fahrenheit Theory ๐ŸŸฉ Easy Math
3 Roots of Quadratic equation Theory ๐ŸŸฉ Easy Math
4 Factorial Of Number ๐ŸŸฉ Easy Math
5 Count digits in a factorial ๐ŸŸฉ Easy Factorial, Math
6 Series GP ๐ŸŸฉ Easy Basic Math
7 Prime Number ๐ŸŸฉ Easy Basic Math
8 Exactly 3 Divisors Theory ๐ŸŸฉ Easy Basic Math
9 Addition Under Modulo Theory ๐ŸŸฉ Easy Modulo
10 Multiplication Under Modulo Theory ๐ŸŸฉ Easy Modulo
11 Modular Multiplicative Inverse ๐ŸŸฉ Easy Modulo
12 Trailing zeroes in factorial ๐ŸŸง Medium Logic
13 Prime Factors ๐ŸŸง Medium Prime

Bits Manipulation

# Title Code Document Video Difficulty Tag
1 Find first set bit ๐ŸŸฉ Easy Bits, Modulo
2 Rightmost different bit ๐ŸŸฉ Easy XOR, Modulo
3 Check whether K-th bit is set or not ๐ŸŸฉ Easy XOR, Modulo
4 Count total set bits ๐ŸŸง Medium RIght shift
5 Bit Difference ๐ŸŸฉ Easy Bits
6 Number is sparse or not ๐ŸŸฉ Easy Bits
7 Longest Consecutive 1's ๐ŸŸฉ Easy Bits
8 Gray Code ๐ŸŸฉ Easy Xor, Right Shift
9 Gray to Binary equivalent ๐ŸŸฉ Easy Xor, Right Shift
10 Power of 2 ๐ŸŸฉ Easy AND
11 Swap all odd and even bits ๐ŸŸฉ Easy OR
12 Maximum AND Value ๐ŸŸง Medium AND

Recursion

# Title Code Document Video Difficulty Tag
1 Print 1 to n without using loops ๐ŸŸฉ Easy Recursion
2 Sum Of Digits ๐ŸŸฉ Easy Recursion
3 Count Total Digits in a Number ๐ŸŸฉ Easy Recursion
4 Digital Root ๐ŸŸง Medium Recursion
5 Fibonacci Using Recursion ๐ŸŸฉ Easy Recursion
6 Tower Of Hanoi ๐ŸŸง Medium Recursion
7 Josephus problem ๐ŸŸง Medium Recursion

Arrays

# Title Code Document Video Difficulty Tag
1

Searching

# Title Code Document Video Difficulty Tag
1

Sorting

# Title Code Document Video Difficulty Tag
1

Matrix

# Title Code Document Video Difficulty Tag
1 What is Multidimensional Arrays c++ Pdf Video ๐ŸŸฉ Easy Matrix, Array
2 Sum of upper and lower triangles Pdf Solution ๐ŸŸฉ Easy Matrix, Array
3 Transpose of Matrix Pdf Solution ๐ŸŸฉ Easy Matrix, Array
4 Rotate by 90 degree Pdf Solution ๐ŸŸฉ Easy Matrix, Array
5 Multiply the matrices c++ Pdf Solution ๐ŸŸฉ Easy Matrix, Array
6 Spirally traversing a matrix c++ Pdf Solution ๐ŸŸง Medium Matrix, Array
7 Interchanging the rows of a Matrix c++ Pdf Solution ๐ŸŸฉ Easy Matrix, Array
8 Matrix Interchange Practice ๐ŸŸฉ Easy Matrix, Array
9 Search in a row-column sorted Matrix c++ Pdf Solution ๐ŸŸง Medium Matrix, Array
10 Boolean Matrix c++ Pdf Solution ๐ŸŸง Medium Matrix, Array

Hashing

# Title Code Document Video Difficulty Tag
1 What is Hashing Data structure Pdf Theory ๐ŸŸฉ Easy Hashing
2 Code of Hashing in c++ c++ Pdf Solution ๐ŸŸฉ Easy Hashing
3 Direct Access Table Pdf Theory ๐ŸŸฉ Easy Hash
4 What is Hash Function and collision Pdf Theory ๐ŸŸฉ Easy Hash
5 What is chaining in collision handling Pdf Theory ๐ŸŸฉ Easy Hashing
6 What is unordered_set c++ Pdf Theory ๐ŸŸฉ Easy Hash
7 What is unordered_map c++ GFG Theory ๐ŸŸฉ Easy Hash
8 Non Repeating Element c++ Pdf Solution ๐ŸŸฉ Easy Hashing
9 First Repeating Element c++ Pdf Solution ๐ŸŸฉ Easy Hashing
10 Union of two arrays Practice ๐ŸŸฉ Easy Hashing
11 Intersection of Two Arrays c++ Pdf Solution ๐ŸŸฉ Easy unordered_set
12 Key Pair c++ Pdf Solution ๐ŸŸฉ Easy unordered_map
13 Subarray with sum 0 c++ Pdf Solution ๐ŸŸง Medium unordered_set
14 Winner of an election c++ Pdf Solution ๐ŸŸฉ Easy unordered_map
15 Pairs with Positive Negative values c++ Pdf Solution ๐ŸŸฉ Easy map, Vector
16 Print Anagrams Together / Group Anagrams c++ Pdf Solution ๐ŸŸง Medium unordered_map, string
17 Relative Sort Array / Sort an array according to the other c++ Pdf Solution ๐ŸŸง Medium Map
18 Custom Sort String c++ Pdf Solution ๐ŸŸง Medium map
19 Sort Array by Increasing Frequency c++ Pdf Solution ๐ŸŸฉ Easy map, Lambda
20 Longest Consecutive Sequence Practice ๐ŸŸง Medium map

String

# Title Code Document Video Difficulty Tag
1 Naive Pattern Search Important ๐ŸŸฉ Easy Pattern
2 Implement strStr() c++ pdf ๐ŸŸฉ Easy Pattern
3 Binary String ๐ŸŸฉ Easy string
4 Anagram ๐ŸŸฉ Easy string
5 Check if string is rotated by two places ๐ŸŸฉ Easy string
6 Check if strings are rotations of each other or not ๐ŸŸฉ Easy string
7 Isomorphic Strings ๐ŸŸฉ Easy string
8 Check if a string is Isogram or not ๐ŸŸฉ Easy string
9 Keypad typing ๐ŸŸฉ Easy string
10 Repeated Character ๐ŸŸฉ Easy string
11 Non Repeating Character c++ solution ๐ŸŸง Medium string
12 Maximum Occuring Character ๐ŸŸฉ Easy string
13 Remove common characters and concatenate ๐ŸŸฉ Easy string
14 Reverse words in a given string ๐ŸŸฉ Easy string
15 Sum of numbers in string c++ pdf solution ๐ŸŸง Medium string
16 Pangram Checking ๐ŸŸฉ Easy string
17 Minimum indexed character ๐ŸŸฉ Easy string
18 Smallest window in a string containing all the characters of another string ๐ŸŸง Medium string
19 Nth number made of prime digits ๐ŸŸฉ Easy Prime, string

Linked List

# Title Code Document Video Difficulty Tag
1 Introduction to Linked list Playlist c++ Theory ๐ŸŸฉ Easy Linked List
2 Data structures Competitive Programming Theory ๐ŸŸฉ Easy DSA
3 Arrays in Data Structures Theory ๐ŸŸฉ Easy Arrays
4 Pointers in C++ with code Practice Theory ๐ŸŸฉ Easy Pointers
5 Struct in c++ Theory ๐ŸŸฉ Easy Struct

Stack

# Title Code Document Video Difficulty Tag
1 What is stack GFG Link Solution ๐ŸŸฉ Easy Stack, Array
2 Implement stack using array ๐ŸŸฉ Easy Stack, Array
3 Implement Stack using Linked List ๐ŸŸฉ Easy Stack, Linked List
4 Implement Stack using Linked List ๐ŸŸฉ Easy Stack, Linked List
5 Remove All Adjacent Duplicates In String ๐ŸŸฉ Easy Stack, string
6 Remove All Adjacent Duplicates in String II ๐ŸŸง Medium Stack, string
7 Valid Parentheses ๐ŸŸฉ Easy Stack, string
8 Implement two stacks in an array ๐ŸŸฉ Easy Stack, Array
9 Valid Parentheses ๐ŸŸฉ Easy Stack, string
10 Get min at pop ๐ŸŸฉ Easy Stack, Array
11 Min Stack ๐ŸŸฉ Easy Stack, Array
12 Delete middle element of a stack ๐ŸŸฉ Easy Stack, STL
13 Infix to Postfix ๐ŸŸฉ Easy Stack
14 Evaluate Reverse Polish Notation ๐ŸŸง Medium Stack, Evaluation of Postfix Expression
15 Online Stock Span ๐ŸŸง Medium Stack, Stock span problem
16 Next Greater Element II ๐ŸŸง Medium Stack, Array
17 Largest Rectangle in Histogram ๐ŸŸฅ Hard Stack, Array
18 The Celebrity Problem ๐ŸŸง Medium Stack, Array

Queue

# Title Code Document Video Difficulty Tag
1 What is Queue GFG Link Solution ๐ŸŸฉ Easy Queue, STL
2 Implement Queue using array ๐ŸŸฉ Easy Queue, Array
3 Implement Queue using Linked List Scaler Topics Link ๐ŸŸฉ Easy Queue, Linked List
4 Queue Reversal ๐ŸŸฉ Easy Queue, Stack
5 Queue using two Stacks ๐ŸŸฉ Easy Queue, Stack
6 Implement Queue using Stacks ๐ŸŸฉ Easy Stack, Queue
7 Stack using two queues ๐ŸŸฉ Easy Stack, Queue
8 Generate Binary Numbers ๐ŸŸฉ Easy Queue
9 Reverse First K elements of Queue ๐ŸŸฉ Easy Queue, Stack
10 Circular tour ๐ŸŸง Medium Queue, Sliding window

Tree

# Question Code Document Video Difficulty Tag
1 What is Tree pdf Solution1, solution2 ๐ŸŸฉ Easy Tree, Theory
2 What is Binary tree pdf solution ๐ŸŸฉ Easy Tree, Binary Tree
3 How to code binary tree c++ Solution ๐ŸŸฉ Easy Tree, Code
4 Properties of Binary tree pdf solution ๐ŸŸฉ Easy Tree, Node
5 Types of Binary tree pdf solution ๐ŸŸฉ Easy Binary Tree
6 Tree Traversal pdf solution1, solution2 ๐ŸŸฉ Easy Traversal, Inorder
7 Code of Inorder Traversal c++ pdf solution ๐ŸŸฉ Easy Inorder Traversal
8 Code of Preorder and Postorder c++ Solution ๐ŸŸฉ Easy Preorder, Postorder
9 Binary Tree Inorder Traversal c++ Solution ๐ŸŸฉ Easy Recursion, Tree
10 Binary Tree Preorder Traversal Practice ๐ŸŸฉ Easy Recursion, Tree
11 Binary Tree Postorder Traversal Practice ๐ŸŸฉ Easy Recursion, Tree
12 Same Tree c++ Solution ๐ŸŸฉ Easy Tree Traversal
13 Maximum Depth of Binary Tree c++ Solution ๐ŸŸง Medium Recursion, Tree
14 Children Sum Parent c++ Solution ๐ŸŸฉ Easy Recursion, Tree
15 Binary Tree Level Order Traversal c++ Solution ๐ŸŸง Medium Queue, Tree
16 Level order traversal Line by Line Practice ๐ŸŸฉ Easy stack, Tree
17 Binary Tree Zigzag Level Order Traversal c++ Solution ๐ŸŸง Medium Queue, Tree
18 Maximum Width of Tree ๐ŸŸฉ Easy Tree
19 Balanced Binary Tree c++ Solution ๐ŸŸฉ Easy Tree
20 Left View of Binary Tree ๐ŸŸฉ Easy Tree
21 Right View of Binary Tree ๐ŸŸฉ Easy Tree
22 Lowest Common Ancestor in a Binary Tree ๐ŸŸง Medium Tree
23 Diameter of Binary Tree ๐ŸŸฉ Easy Tree
24 Vertical Width of a Binary Tree ๐ŸŸฉ Easy Tree
25 Mirror Tree ๐ŸŸฉ Easy Tree
26 Check if subtree ๐ŸŸง Medium Tree
27 Make Binary Tree From Linked List ๐ŸŸง Medium Tree

Binary Search Tree

# Title Code Document Video Difficulty Tag
1 Inorder traversal of a BST ๐ŸŸฉ Easy BST, Tree
2 Search in a Binary Search Tree ๐ŸŸฉ Easy BST, Tree

Heap

# Title Code Document Video Difficulty Tag
1 Heap sort Solution ๐ŸŸฉ Easy Heap Basic
2 Kth Largest Element in an Array Solution ๐ŸŸฉ Easy Heap Basic
3 Kth Largest Element in a Stream Solution ๐ŸŸฉ Easy Heap Basic
4 Top K Frequent Elements Solution ๐ŸŸฉ Easy Heap Basic
5 Minimum Cost of ropes Solution ๐ŸŸฉ Easy Heap Basic
6 Find K Closest Elements Solution ๐ŸŸง Medium Heap Medium
7 Merge k Sorted Arrays Solution ๐ŸŸง Medium Heap Medium
8 Find median in a stream Solution ๐ŸŸฅ Hard Heap Hard

Graph

# Title Code Document Video Difficulty Tag
1 Graph Introduction Solution ๐ŸŸฉ Easy Graph Theory
2 Adjacency Matrix in graph Solution ๐ŸŸฉ Easy Graph Basic
3 Adjacency List in graph Solution ๐ŸŸฉ Easy Graph
4 How to code graph Solution ๐ŸŸฉ Easy Graph
5 BFS Of Graph Solution ๐ŸŸฉ Easy Graph Theory
6 Find If Path Exists in Graph C++ Solution ๐ŸŸฉ Easy Graph BFS
7 Find the Town Judge C++ Solution ๐ŸŸฉ Easy Graph BFS
8 DFS Of Graph Solution ๐ŸŸฉ Easy Graph Theory
9 Number of Islands C++ Solution ๐ŸŸง Medium Graph DFS
10 Flood Fill C++ Solution ๐ŸŸฉ Easy Graph Theory
11 Detect cycle in undirected graph Solution ๐ŸŸฉ Easy Graph
12 Topological sort (Kahn's BFS) C++ Pdf Solution ๐ŸŸฉ Easy Graph
13 Topological sort using DFS C++ Pdf Solution ๐ŸŸง Medium Graph DFS
14 Detect Cycle in a Directed Graph C++ Pdf Solution ๐ŸŸง Medium Graph GFG

Greedy

# Title Code Document Video Difficulty Tag
1

Backtracking

# Title Code Document Video Difficulty Tag
1

Dynamic Programming

# Title Code Document Video Difficulty Tag
1 Fibonacci Numbers - Top Down DP ๐ŸŸฉ Easy Recursion

Trie

# Title Code Document Video Difficulty Tag
1 Insert and Search ๐ŸŸง Medium Trie



๐Ÿ“˜ย  License

The Whole content management system is released under the under terms of the MIT License.

Connect with us ~Prince

telegram Linkedin youtube

Do star, fork and share the repo to show your support, it would help others too!

Let me know your views on the repository or any changes or improvements at LinkedIn, Telegram

โค๏ธ Thank you all for Forking this repository โค๏ธ

complete-dsa-preparation_forkrepo's People

Contributors

prince-1501 avatar 1shikha7 avatar lifeofsoumya avatar avadhutjc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.