Posts from Java

Total Ways to traverse a n*m board using Dynamic Programming in Java

By divyesh srivastava

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

Total ways to reach destination by snake using Backtracking In Java

By divyesh srivastava

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

Program to find all permutations of a string in Java

By vikrant_tomar

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

Using Interface in Java with an Example

By vikrant_tomar

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

Maximum Coin Spend Problem using Dynamic Programming in Java

By divyesh srivastava

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

How to find Maximum Pairwise Product in Java using Naive approach

By Saurabh Singh

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

Frequency of Repeated words in a string in Java

By Saurabh Singh

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

Working with HashMap (Insertion, Deletion, Iteration) in Java

By vikrant_tomar

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

Related Posts