#java
5 notes
Trees | Non-Linear Data Structure Part One: Binary Tree & BST
A deep dive into tree data structures — nodes, edges, height, depth, Binary Trees, and Binary Search Trees with Java implementations for add, find, delete, and DFS/BFS traversals.
Map collection | What is an associative array data structure
An associative array, dictionary or map is a collection of key-value pairs. Learn about HashMap, LinkedHashMap, and TreeMap in Java — and how to use a HashMap to remove duplicates from a linked list.
Stacks & Queues | What, how and where to use
Stacks and Queues are two very commonly used dynamic data structures that provide us with a unique way of handling data. Learn what they are, how they work, and where to use them with Java examples.
Arrays | The most popular data structure
An array is a contiguous data structure of a predefined size where elements are adjacent to each other. Learn about array memory structure, usage, and practical algorithms including anagram detection and string reversal.
Linked List | Why we learn this data structure
A linked list is a dynamic linear data structure where each element is a separate object connected via pointers. Learn how to implement a linked list in Java — adding, removing, detecting cycles, and more.