Algorithms

Java Collections API: Exploring Built-in Algorithms

Introduction The Java Collections Framework isn’t just about data structures; it also offers a set of powerful algorithms for manipulating collections. These algorithms can save you time and make your code more robust and efficient. This guide aims to delve into the algorithms provided by the Java Collections Framework, particularly those available in the Collections […]

Java Collections API: Exploring Built-in Algorithms Read More »

Tree Traversals

Table of Contents 📚 Introduction to Tree Traversals Traversal is a fundamental operation in which we visit all the nodes of a tree and perform some operation (such as a print operation) at each node. In this post, we’ll discuss three commonly used traversals for binary trees: in-order, pre-order, and post-order. In-order Traversal In in-order

Tree Traversals Read More »