

Java 10 Features
(with Examples)
Sven WoltmannOctober 20, 2021All the new features of Java 10: "var", Immutable Collections, Optional.orElseThrow(), Application Class-Data Sharing and more.


Red-Black Tree
(Fully Explained + with Java Code)
Sven WoltmannSeptember 29, 2021What is a red-black tree? How do you insert, search and delete nodes? By which rules is the tree balanced? How to implement a red-black tree in Java? And how do you determine its time complexity?


AVL Tree
(+ Java Code Examples)
Sven WoltmannAugust 31, 2021What is an AVL tree? How do you calculate a node's balance factor? How does rotation work and how is an AVL tree balanced? How to implement an AVL tree in Java?


Binary Search Tree
(+ Java Code Examples)
Sven WoltmannJune 17, 2021What is a binary search tree (BST)? How do you insert new elements, how do you search for them, and how do you delete them? How do you implement a BST in Java? And how does it differ from similar data structures?


Binary Tree
(+ Java Code Examples)
Sven WoltmannMay 28, 2021What is a binary tree, and what types exist? How to implement a binary tree in Java? What are its operations? What are pre-order, in-order, post-order, and level-order traversals?
Binary Search (+ Java Code Examples)
Sven WoltmannMay 14, 2021How does binary search work? How to implement binary search in Java? What binary search functions does the JDK provide? How fast is binary search compared to linear search?


Floyd-Warshall Algorithm
(+ Java Code Examples)
Sven WoltmannApril 12, 2021How does the Floyd-Warshall algorithm work, and when do you use it? What are its variants? How to determine its time complexity?


Bellman-Ford Algorithm
(+ Java Code Examples)
Sven WoltmannMarch 12, 2021How does the Bellman-Ford algorithm work, and when to use it? Where do negative edge weights occur in practice? How do you determine the time complexity of Bellman-Ford?


A* Algorithm
(+ Java Code Examples)
Sven WoltmannJanuary 27, 2021How does the A* algorithm work and how does it differ from Dijkstra's algorithm? How to implement A* in Java? How to determine its time complexity?


Dijkstra's Algorithm
(+ Java Code Examples)
Sven WoltmannNovember 25, 2020How does Dijkstra's algorithm work? How to implement the Dijkstra algorithm in Java? How to determine its time complexity?