Algorithms and Data Structures

On this page, you find an overview of how-tos and tutorials about Java.

Algorithms in General

This category covers general articles about algorithms without any specific type of algorithm in mind, e.g., classifications of algorithms.

Sorting Algorithms

If you need a refresher on how the most common sorting algorithms work and how they differ, this series is for you.

Sorting

Algorithms

What you'll learn
  • What are the most common sorting methods?
  • In which characteristics do they differ?
  • How to sort arrays and collections in Java?
  • How each sorting algorithm works (using lots of visualizations and examples).
  • How to derive a sorting algorithm's time complexity, without complicated maths.
  • How to implement each sorting algorithm in Java.

Data Structures in Java

What are data structures? A data structure is a collection of related data values and their relationships with each other. It provides operations to read or modify the data.

Java data structures are, for example, collections, maps, and sets, trees, queues, deques, and stacks.

Never Miss an Article!

Sign up to join the HappyCoders newsletter and to receive email notifications when new articles are published.
Invalid email address
Unsubscribe whenever you want. Read my Privacy Policy.