Vikash Kumar Patel
Vikash Kumar Patel
There are n people standing in a circle waiting to be executed. The counting out begins at some point in the circle and proceeds around the circle in a fixed...
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining. Please assign it...
Given number of pages in n different books and m students. The books are arranged in ascending order of number of pages. Every student is assigned to read some consecutive...
Given a graph and a source vertex in the graph, find the shortest paths from the source to all vertices in the given graph. Kindly assign this issue to me.....
Two players X and Y are playing a game in which there are pots of gold arranged in a line, each containing some gold coins. They get alternating turns in...
There are n people standing in a circle waiting to be executed. The counting out begins at some point in the circle and proceeds around the circle in a fixed...
Given n dice each with m faces, numbered from 1 to m, find the number of ways to get sum X. X is the summation of values on each face...
A and B are playing a game. At the beginning there are n coins. Given two more numbers x and y. In each move a player can pick x or...
The following is a description of the instance of this famous puzzle involving n=2 eggs and a building with k=36 floors. Suppose that we wish to know which stories in...
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining. Examples: Input: arr[]...