Posts by **Kollabathula Preetham**

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

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

In this tutorial, we will learn how we can shift the elements of an array to left using loops in Java. In this problem, we shift each of the elements of the array to left with the .... Read More

In this tutorial, we will learn how to print a Staircase pattern in Java. A staircase can be either Left-Aligned or Right-Aligned. A staircase is a simple java pattern program whic.... Read More

In this tutorial, we will learn how we can shift the elements of an array to right using loops in Java. In this problem, we shift each of the elements of the array to right with th.... Read More

In this tutorial, we are going to learn Time conversion in Java (i.e) how we can convert 12-hour time notation to 24-hour time notation. In simple words given a time in 12-hour AM/.... Read More

In this tutorial, we will learn how to implement Lucas series in Java. So what is Lucas Series? Lucas Series Lucas Series is an integer sequence which is named after a mathematicia.... Read More

In this tutorial, we will be calculating the sum of all numbers in a String in Java. The problem is pretty simple. We are supposed to add up all the numbers in a string. The part w.... Read More