Posts by **Kollabathula Preetham**

**Author Biographical Info: **A Computer Science student.

Binary trees have several ways of Traversal. In this tutorial, we will learn the most popular method of traversing a tree which is the Inorder Tree Traversal, also known as LNR (le.... Read More

A hierarchical data structure like a tree can be traversed in many ways. In this tutorial, we will learn one of the three ways of DFS ( depth-first search ) that is Postorder Tree .... Read More

In this tutorial, we will learn what level order tree traversal is and how we can implement it in code in Java. Level Order Traversal In a level order traversal, we visit each of t.... Read More

Hey coders! There are multiple ways to traverse a tree in Java. In this tutorial, we will learn one of the three ways of DFS ( depth-first search ) that is Preorder tree Traversal .... Read More

In this tutorial, we will learn how to redirect or save the output of a Program to a Text file in Java. There are many ways of doing this. One method I find simple is by the use of.... Read More

Hey Coders! So in this tutorial, we will learn how we can Calculate the execution time of a program in Java. Java is an object-oriented language (i.e) everything is in objects and .... Read More

Hey coders! In this tutorial, we will learn the different ways of calculating the area of a Triangle and implement it in code in Java. So a Triangle has three sides and three angle.... Read More

In this tutorial, we will learn how to calculate the maximum sum of an hourglass in a 2 – Dimensional matrix in Java. An hourglass is a subset of 7 values with indices which .... Read More