Posts by Tanisha Saxena

Author Biographical Info: Not available

Java program to calculate surface area and volume of a sphere

By Tanisha Saxena

In this tutorial, we will see how to write a java program to find the volume and surface area of any given sphere. Before we begin, let us first see the definition and formulas use.... Read More

How to perform Depth First Search in Java?

By Tanisha Saxena

In this tutorial, we will learn how to perform Depth First Search or DFS on a graph in java. There are two ways to traverse a graph: Breadth first search Depth first search DFS .... Read More

Java program to calculate the discriminant value

By Tanisha Saxena

In this program, we will see how to calculate the value of discriminant for a given algebraic expression using Java programming language. In algebra, the discriminant helps us to d.... Read More

Calculate the arc length of an angle in Java

By Tanisha Saxena

In this tutorial, we will see how to calculate the arc length for a given angle in Java. Mathematically, arc length is calculated as follows: The length of an arc is equal to the c.... Read More

Java Program to Left Rotate an Array

By Tanisha Saxena

In this tutorial, we will learn how to left rotate a given array in java programming language. So let’s start learning, left rotation of an array in Java. We need to rotate t.... Read More

How to find if Linked List contains cycle in Java

By Tanisha Saxena

In this tutorial, we will see how to check if the given linked list contains a cycle or loop in java. A linked list is a data structure, it has a collection of nodes. Each node has.... Read More

Java Program to Reverse an Array in place

By Tanisha Saxena

In this tutorial, we will see how to reverse any given array in java programming language without making use of any separate array. Now, it would be very easy to reverse an array i.... Read More

Java Program to find Volume and Surface Area of a Cylinder

By Tanisha Saxena

In this tutorial, we will see how to write a java program to find the volume and surface area of any given cylinder. Before we begin, let us first see the definition and formulas u.... Read More

Related Posts