Big O Notation and Time Complexity – Easily Explained
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 ε.
How do the stack, queue and deque data structures work? Which implementations are available in the JDK? Which one should you use when?
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, you will learn everything about the NIO classes FileChannel and ByteBuffer introduced in Java 1.4.
You'll learn about their capabilities for reading and writing files and their advantages over the previously discussed methods.
In this fifth part of the series, you will learn how to write and read structured data with DataOutputStream, DataInputStream, ObjectOutputStream, and ObjectInputStream.
This fourth part of the series describes the most important directory and file operations.
You will learn how to list files in a directory, how to search for files, how to move, rename, and copy files, and much more.
This third part of the series of articles shows how to use the classes File, Path, and Paths to construct file and directory paths – regardless of the operating system.
This second part introduces methods for writing small and large text and binary files in Java.
After reading this article, you will know exactly when to use FileWriter, FileOutputStream, OutputStreamReader, BufferedOutputStream, and BufferedWriter.
This article introduces methods for reading and writing files in Java.
After reading this article, you will know exactly when to use FileReader, FileInputStream, InputStreamReader, BufferedInputStream, and BufferedReader.