DSA

Binary Search Tree (BST)

1.Β Definition A Binary Search Tree is a binary tree where: Left child < Parent node Right child > Parent node No duplicates (usually). This property makes search, insert, and delete...

Binary Search Tree (BST)

1.Β Definition A Binary Search Tree is a binary tree where: Left child < Parent node Right child > Parent node No duplicates (usually). This property makes search, insert, and delete...

LinkedList Implementation

1.Β Definition A Linked List is a linear data structure where elements (called nodes) are connected using pointers (references) instead of being stored in contiguous memory (like arrays). Each node has:...

LinkedList Implementation

1.Β Definition A Linked List is a linear data structure where elements (called nodes) are connected using pointers (references) instead of being stored in contiguous memory (like arrays). Each node has:...

Data Structures Comparison Table

Β  Data Structure Access Search Insertion Deletion Notes / Use Cases Array 🟒 O(1) πŸ”΄ O(n) πŸ”΄ O(n) πŸ”΄ O(n) Fast random access, fixed size Linked List πŸ”΄ O(n) πŸ”΄...

Data Structures Comparison Table

Β  Data Structure Access Search Insertion Deletion Notes / Use Cases Array 🟒 O(1) πŸ”΄ O(n) πŸ”΄ O(n) πŸ”΄ O(n) Fast random access, fixed size Linked List πŸ”΄ O(n) πŸ”΄...

Data Structures in Java

Here’s a quick overview of basic data structures that form the foundation of computer science and programming: 1. Array Definition: A collection of elements stored in contiguous memory locations. Key...

Data Structures in Java

Here’s a quick overview of basic data structures that form the foundation of computer science and programming: 1. Array Definition: A collection of elements stored in contiguous memory locations. Key...

Big O Basic Concepts

BIG O CheatSheet

Big O Basic Concepts

BIG O CheatSheet