GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - SvenWoltmann/sorting-in-java: Sorting in Java: sorting algorithm source codes + ultimate performance test, and demo code for sorting arrays and lists with the JDK. For my HappyCoders.eu articles.

BranchesTags
Open more actions menu

Latest commit

 

History

407 Commits
407 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
img
img
 
 
results
results
 
 
src
src
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

Repository files navigation

Sorting in Java

Build Coverage Maintainability Rating Reliability Rating Security Rating

Sorting algorithm source codes + ultimate test to compare the performance of all algorithms (packages eu.happycoders.sort.method and eu.happycoders.sort.demos), plus demo code for sorting arrays and lists with the JDK (packages eu.happycoders.sort.jdk.array and eu.happycoders.sort.jdk.list).

The demo classes have a main() method that prints the output shown in the article. They need Java 25, because they use the simplified main() method without String[] args.

The code belongs to this series of articles:


English

  • Sorting Algorithms [Ultimate Guide]
  • Insertion Sort – Algorithm, Source Code, Time Complexity
  • Selection Sort – Algorithm, Source Code, Time Complexity
  • Bubble Sort – Algorithm, Source Code, Time Complexity
  • Quicksort – Algorithm, Source Code, Time Complexity
  • Merge Sort – Algorithm, Source Code, Time Complexity
  • Heapsort – Algorithm, Source Code, Time Complexity
  • Counting Sort – Algorithm, Source Code, Time Complexity
  • Radix Sort – Algorithm, Source Code, Time Complexity
  • Sorting in Java: How to Sort an Array (package eu.happycoders.sort.jdk.array)
  • How to Sort a List in Java (package eu.happycoders.sort.jdk.list)

English YouTube Videos

  • Insertion Sort
  • Selection Sort
  • Bubble Sort
  • Quicksort
  • Merge Sort


German

  • Sortieralgorithmen [Ultimate Guide]
  • Insertion Sort – Algorithmus, Quellcode, Zeitkomplexität
  • Selection Sort – Algorithmus, Quellcode, Zeitkomplexität
  • Bubble Sort – Algorithmus, Quellcode, Zeitkomplexität
  • Quicksort – Algorithmus, Quellcode, Zeitkomplexität
  • Mergesort – Algorithmus, Quellcode, Zeitkomplexität
  • Heapsort – Algorithmus, Quellcode, Zeitkomplexität
  • Counting Sort – Algorithmus, Quellcode, Zeitkomplexität
  • Radix Sort – Algorithmus, Quellcode, Zeitkomplexität
  • Sortieren in Java: Array sortieren (Package eu.happycoders.sort.jdk.array)
  • Liste sortieren in Java (Package eu.happycoders.sort.jdk.list)

German YouTube Videos

  • Insertion Sort
  • Selection Sort
  • Bubble Sort
  • Quicksort
  • Mergesort


Additional Resources


The Big O Cheat Sheet

With this free 1-page PDF cheat sheet, you'll always have the 7 most important complexity classes at a glance.

Big O PDF Cheat Sheet Mockup

  • Always choose the most efficient data structures and thus increase the performance of your applications.
  • Be prepared for technical interviews and confidently present your algorithm knowledge.
  • Become a sought-after problem solver and be known for systematically tackling complex problems.

👉 Download the free Big O Cheat Sheet

(Hier geht's zur deutschen Version → O-Notation Cheat Sheet)


Java Versions PDF Cheat Sheet

Stay up-to-date with the latest Java features with this free PDF Cheat Sheet!

Java Versions PDF Cheat Sheet Mockup

  • Avoid lengthy research with this concise overview of all Java versions from Java 10 to Java 27.
  • Discover the innovative features of each new Java version, summarized on a single page.
  • Impress your team with your up-to-date knowledge of the latest Java version.

👉 Download the free Java Versions PDF

(Hier geht's zur deutschen Version → Java-Versionen PDF)


HappyCoders Newsletter

👉 Want to stay on top of modern Java? Sign up for the HappyCoders newsletter – Modern Java: new versions & features, performance, and JVM insights – once a month.

(Hier geht's zur deutschen Version → HappyCoders-Newsletter deutsch)


🇩🇪 An alle Java-Entwickler:innen, die durch fundierte Kenntnisse über Datenstrukturen besseren Code schreiben wollen

Trage dich jetzt unverbindlich auf die Warteliste von „Mastering Data Structures in Java“ ein, und erhalte das beste Angebot!

Mastering Data Structures Mockup

👉 Zur Warteliste

About

Sorting in Java: sorting algorithm source codes + ultimate performance test, and demo code for sorting arrays and lists with the JDK. For my HappyCoders.eu articles.

www.happycoders.eu/algorithms/sorting-algorithms/

Topics

bubble-sortbubble-sort-algorithmcounting-sortheap-sortheapsortheapsort-algorithminsertion-sortinsertionsortjavamergesortmergesort-algorithmquick-sortquicksortquicksort-algorithmradix-sortradixsortselection-sortselectionsortsortingsorting-algorithms

Resources

Readme
Activity

Stars

28 stars

Watchers

0 watching

Forks

9 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.