Posts by divyesh srivastava
Author Biographical Info: Not available
In this Java tutorial, we gonna learn how to find a missing number in an array in Java using XOR operation. Problem Statement We are given an array of ‘n-1’ elements an.... Read More
In this Java tutorial, we are going to find the existence of a pair in an array whose sum is equal to a given value using HashSet. What is HashSet in Java? Set is an unordered coll.... Read More
In this Java tutorial, we are going to discuss BigInteger class in Java. It is very important for mathematical operations in which output is very large and our primitive data types.... Read More
Set is an unordered collection of values in which duplicate values are not allowed. Set can be implemented using HashSet. In this Java tutorial, we are going to discuss different .... Read More
In this Java tutorial, we are going to check whether an array contains duplicate elements or not using hashing technique. What is Hashing Technique and why we prefer Hashing here? .... Read More
Separate even numbers and odd numbers in an array in Java Given an array[], write a function that segregates even and odd numbers. The functions we are going to create should put a.... Read More
In this Java tutorial, we are going to find the Binomial Co-efficient in Java with an easy Java program. What is Binomial Co-efficient ? A binomial co-efficient C(n,k) can be defi.... Read More
In this Java tutorial, we are going to convert string1 to string2 using the minimum number of operations or string transformation in Java. So, we can either insert a character in .... Read More