Question
Which data structure is used for implementing
breadth-first search (BFS) algorithm?Solution
Queue is used to implement BFS.
- Ratio of speed of a boat in still water to speed of stream is 9:1 respectively.Ratio of the time taken by the boat to cover a distance of (x + 50) km upstr...
A boat running downstream covers a distance of 42 km in 6 hrs and covering the same distance upstream in 14 hrs. What is the speed of a boat in still wa...
Speed of a boat in still water is three times the speed of the boat in upstream. If the boat takes 35 minutes to cover 35 km in downstream, then find th...
A swimmer swims from a point A against a current for 5 minutes and then swims current for next 5 minutes and comes to the point B. If AB is 100meters, t...
A boat covers 24 km downstream in 2 hours and 24 km upstream in 3 hours. Find the speed of the boat in still water.
The ratio of speed of boat in upstream and in Stillwater is 1: 3 respectively. The boat takes a total of 10 hours to travel 300 kilometer in downstream ...
Motor boat covers a certain distance downstream in a river in 20 hours. It covers the same distance upstream in 30 hours. If the speed of the water is 1...
Speed of a boat in still water is three times the speed of the boat in upstream. If the boat takes 20 minutes to cover 20 km in downstream, then find th...
A boat can cover 130 km in downstream in 10 hours and 120 km in upstream in 12 hours. Find the distance travelled by the boat in still water in 4 hours.
A boat goes 24 km downstream in 3 hour and the same distance upstream in 6 hours. The speed of the boat in still water is: