In this Java tutorial, we are going to find the total number of ways to traverse a board consisting of n*m blocks using Dynamic Programming approach. Finding the total number of wa.... Read More
In this Java tutorial, we are going to find all the possible paths for reaching the snake to the destination by using backtracking technique. Suppose we have a n*m cells path and s.... Read More
In this Java tutorial, we will learn how to find all permutations of a string in Java. We will solve the problem using recursion. Recursion is a process where a function calls itse.... Read More
In this Java tutorial, we will learn about Interfaces. We will also learn using interface in java with the help of an example. An interface is a blueprint of a class. Interfaces s.... Read More
In this Java tutorial, We are going to discuss Maximum coin Problem using DP. In the problem, we are provided with two input arrays of n values in which one array consists of dista.... Read More
In this Java tutorial, we will learn how to find the maximum pairwise product using Java. Maximum Pairwise Product in easy words you can say that it is the product of those two num.... Read More
In this Java tutorial, we are going to find the frequency of the repeated words in Java. In order to do this, we have taken a sentence and split it into strings and compare each st.... Read More
In this Java tutorial, we will learn working with HashMap in Java. A map is an object that stores information as a key- value pair. Given a key, we can find its value. Key and valu.... Read More