In this article, I describe how Bubble Sort works, introduce the source code, and explain how to derive its time complexity.
In this article, I describe how Selection Sort works, show its source code, and explain its derivation of time complexity.
This article describes how Insertion Sort works, shows an implementation in Java and explains the time complexity.
This tutorial explains – step by step and with many code examples – how to sort primitive data types (ints, longs, doubles, etc.) and objects of any class in Java.
If you need a refresher on how the most common sorting algorithms work and how they differ, this series is for you.
In this article, I will explain the big O notation (and the time and space complexity described with it) only using examples and diagrams – and entirely without mathematical formulas, proofs and symbols like θ, Ω, ω, ∈, ∀, ∃ and ε.
This article explains the basic functionality of the abstract data type queue, deque, and stack, and gives a detailed overview of all implementations available in the JDK.
Numerous code examples should make it easier for you to understand.
Can 2+3 = 6?
In this article, I show you how Deep Reflection can be used to change the values of Integers and Strings at runtime.
In this article, I show you (using an example) how the Java ByteBuffer works, and what precisely the Methoden flip() and compact() do.
In this article, I explain the NIO classes FileChannel and ByteBuffer introduced in Java 1.4.
Moreover, I show what possibilities they provide to read and write files and what their advantages are – compared to the methods discussed before.