Explore the Rod Cutting Problem and discuss various ways of solving it.
Search Results for: Optimization problem
N+1 Problem in Hibernate and Spring Data JPA
Explore a common N+1 problem while using Spring JPA and Hibernate.
Ahead of Time Optimizations in Spring 6
What’s the concept of AOT and how is applied in Spring 6 looking at pros and cons.
Knapsack Problem Implementation in Java
Learn how to solve the Knapsack problem in Java.
Multi-Swarm Optimization Algorithm in Java
Learn how to implement a Multi-swarm optimization algorithm in Java.
Ant Colony Optimization with a Java Example
A quick tutorial on the ant colony optimization genetic algorithm in Java.
The Traveling Salesman Problem in Java
Quick intro to simulated annealing for the traveling salesman problem in Java.
Introduction to Jenetics Library
A quick, practical guide to using the Jenetics library for Java to find solutions to several well-known optimization problems.
Working with Images in Java
A quick overview of several Java image-processing libraries, including a simple example done in all of them
Converting Float ArrayList to Primitive Array in Java
Learn how to convert an ArrayList of wrapper classes into an array of primitives.
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.
Generational ZGC in Java 21
Learn how the generational garbage collector works.
Removing the Last Node in a Linked List
Learn how to remove the last node in a LinkedList in Java.
Find Missing Number From a Given Array in Java
Learn multiple approaches to finding a single missing number from an array in the integer range [1-N].
A Guide to Timefold Solver for Employee Scheduling
Learn how to use Timefold Solver, a planning optimization tool, to determine an optimal employee shift schedule.
Finding the Square Root of a BigInteger in Java
Learn three approaches to calculating the square root of a big number in Java.
Check if a String Is Strictly Alphanumeric With Java
Explore a couple of ways to check if a String is alphanumeric.
Java Weekly, Issue 506
Spring AI, no more N+1 problem, statement caching, streams with virtual threads, service mesh, and good by EC2 classic!
Smart Batching in Java
Learn about task batching techniques in Java and understand how the smart batching technique can help address the shortcomings of micro batching.
Pitfalls on Testing with Spring Boot
Learn the pitfalls of writing Spring Boot tests.