Depth First Search in Java 1. Overview In this tutorial, we’ll explore the Depth-first search in Java. Depth-first search (DFS) is a traversal algorithm used for both Tree and Graph data structures. The depth-first search goes deep in each branch before moving to explore another branch. In the next sections, we’ll… Continue Reading java-depth-first-search

Thread Safe LIFO Data Structure Implementations 1. Introduction In this tutorial, we’ll discuss various options for Thread-safe LIFO Data structure implementations. In the LIFO data structure, elements are inserted and retrieved according to the Last-In-First-Out principle. This means the last inserted element is retrieved first. In computer science, stack is… Continue Reading java-lifo-thread-safe

Monte Carlo Tree Search for Tic-Tac-Toe Game 1. Overview In this article, we’re going to explore the Monte Carlo Tree Search (MCTS) algorithm and its applications. We’ll look at its phases in detail by implementing the game of Tic-Tac-Toe in Java. We’ll design a general solution which could be used… Continue Reading java-monte-carlo-tree-search