java

Breadth-first Search in Java

I recently had to solve a problem that involved finding the shortest path between two vertices (or nodes). A DuckDuckGo search suggested that an algorithm called breadth-first search was the way to go. Here’s an implementation in Java, based on chapter 22 in Introduction to Algorithms by Cormen et al. Source on Read more…

By Mikael, ago
java

Looking into Java 9

Here I was thinking Java 9 was still quite new when I realized Java 10 has been released. Time to have a look. Key Changes Java Platform Module System This looks really interesting. I haven’t had a chance to use modules in a production system yet, but they look like a Read more…

By Mikael, ago