Learn how to take a Java collection of intervals and merge the overlapping ones.
Search Results for: Merge algorithm
Choosing a GC Algorithm in Java
Learn about the various garbage collectors supported by the JVM and some key characteristics that can help us decide on the right one to use, depending on our application’s needs.
Efficiently Merge Sorted Java Sequences
Learn how we can efficiently merge sorted arrays using a min-heap
Kruskal’s Algorithm for Spanning Trees with a Java Implementation
Learn how to use Kruskal’s algorithm to solve the minimum and maximum spanning tree problems
How to Merge Two Sorted Arrays in Java
Learn how to merge two sorted arrays in Java.
Quicksort Algorithm Implementation in Java
Explore the details of the QuickSort algorithm, focusing on the Java implementation.
Merge Sort in Java
Understand the merge sort algorithm and its implementation in Java
Binary Search Algorithm in Java
Learn how and when to use the Binary Search algorithm.
Find the Kth Smallest Element in Two Sorted Arrays in Java
A quick and practical guide to finding the k-th smallest element in two sorted arrays.
Set Matrix Elements to Zero in Java
In this tutorial, we learn various approaches to setting a matrix’s entire row and column to zero if one of the elements is zero.
Using a Custom TrustStore in Java
Explore the ways how to use certificates from different TrustStores in one Java application.
Difference Between Arrays.sort() and Collections.sort()
Compare two Java’s commonly used sorting methods: Arrays.sort() and Collections.sort().
Java Weekly, Issue 469
GraalVM in OpenJDK, entity listeners, MicroProfile 6.0, RabbitMQ vs Kafka, and data pipelines at scale!
Guide to the Storage Engine in Apache Cassandra
Dive into the internals of the storage engine used by Apache Cassandra.
Java Weekly, Issue 456
Java 19 is here. Nuff said.
Java Weekly, Issue 441
Java GCs, Project Panama, Spring Data JDBC, multiset vs joins, structured concurrency, and HTTP/3.
Native Images with Spring Boot and GraalVM
Learn how to use Spring Native to compile and build native images using Buildpacks and GraalVM’s native build tools
Kafka Streams vs. Kafka Consumer
Learn how Kafka Streams simplify the processing operations when retrieving messages from Kafka topics.
Java Weekly, Issue 375
Deserialization events in JFR, more efficient G1, native images, Scala 3, pattern matching for primitives, merge join algorithm, and effective communication.
New Features in Java 12
Explore the new features implemented in Java 12.