Skip to content

iftekhariasif/dsa-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 

Repository files navigation

DSA CODING PREP INDEX

This repository is just a coding playground of mine, focusing mostly on data structure and algorithms which are the core pre-requisites of a software engineer. The contents is a refined version from different youtube videos, udemy courses & open source resources. I made this organized for regular interview practices & also made this open to anyone as a part of contributing the programming community.

If you are reading this & the repository helped you somehow, you can give a star for better reach to other programmers like you. Also, if you have better solutions, feel free to give a pull request to share your ideas to everyone. Happy Coding!

BIG-O NOTATIONS & COMPLEXITY CHARTS

COMMON DATA STUCTURES

DATA STRUCTURE SC TC (TRAVERSE) TC (ACCESS) TC (INSERT) TC (DELETE)
Array O(n) O(n) O(1) O(n) O(n)
Singly Linked List O(n) O(n) O(n O(1) O(1)
Doubly Linked List O(n) O(n) O(n O(1) O(1)
Stack O(n) O(n) O(n) O(1) O(1)
Queue O(n) O(n) O(n) O(1) O(1)
Binary Search Tree O(n) O(log n) O(log n) O(log n) O(log n)
Hash Table O(n) N/A O(1) O(1) O(1)

ARRAYS & LINKED LISTS

STACKS & QUEUES

TREES & HEAPS

GRAPHS

HASH TABLES

PROBLEM SOLVING PATTERNS

SEARCHING ALGORITHMS

SORTING ALGORITHMS

GRAPH ALGORITHMS

DIVIDE & CONQUER ALGORITHMS

GREEDY ALGORITHMS

RECURSIONS

OTHER ALGORITHMS

DYNAMIC PROGRAMMING

BACKTRACKING

RESOURCES & REFERENCES

About

A collection of basic data structure & algorithms for coding test preparation.

Topics

Resources

Stars

Watchers

Forks