Posts by Anubhav Srivastava

Author Biographical Info: Not available

Average value of an ArrayList in Java

By Anubhav Srivastava

Hi coders! I am up with a topic known as ArrayList. It is a class which implements List interface of the Collection framework. ArrayList is present in the java package known as uti.... Read More

Postfix evaluation in java

By Anubhav Srivastava

Hi coders! In this tutorial, we are going to discuss a very important topic that is generally skipped by the learners, the topic is postfix notation. Postfix notation represents al.... Read More

Java program to find maximum value of sum of all (i*arr[i]) with only rotations allowed in the array

By Anubhav Srivastava

Hi coders! In this tutorial, we are going to discuss a problem that is related to rotation in an array. Many of you have definitely solved the problem of array rotation but the pro.... Read More

Two Sum problem in Java

By Anubhav Srivastava

Hi coders! In this tutorial, we are going to solve a problem that is related to a very common data structure known as the Array. To solve the two sum problem in Java, we will use H.... Read More

Gauss Legendre algorithm in java

By Anubhav Srivastava

Hi, coders! Mathematics is a very important part in the life of coders. As you all know there are so many  Mathematics algorithms that we implement through code. In this tutorial,.... Read More

Saddleback search algorithm in Java

By Anubhav Srivastava

Hi coders, this tutorial is focused on Saddleback search algorithm in Java. Many times you have been asked for the searching of an element in various data structures. If we are ask.... Read More

How to Print the middle node of a linked list using java

By Anubhav Srivastava

Hi, coders! Most of you people are familiar with the linked list data structure but did you people ever tried to print the middle node of a singly linked list in Java, if not I am .... Read More

Juggling Algorithm for array rotation using java

By Anubhav Srivastava

Hi coders! I am back with a new problem which is related to a  famous data Structure Array. Many of you people definitely have solved the array rotation problem. There are various.... Read More