Question
A man is travelling at a speed of 20 km/h such that he
will take 60 minutes to reach his destination. But after completing half the journey, the man took a break of 15 minutes and then continued his journey. Find the speed at which the man must cover rest of the journey to reach his destination in original time.Solution
Total distance to be covered = 20 × (60/60) = 20 km Time taken to cover half the distance at original speed = {(20 ÷ 2) ÷ 20} × 60 = 30 minutes Time remaining = 60 – 30 – 15 = 15 minutes Required speed = 10 ÷ 15 × 60 = 40 km/h
The time complexity of computing the all-pairs shortest paths in a dense graph with V vertices using Floyd–Warshall is:
Which of the following is a critical concern for securing critical infrastructure?
Which of the following is a primary challenge associated with Cloud Security?
Recursive problems are implemented by
For which problem is dynamic programming NOT generally an applicable technique because it lacks overlapping subproblems?
Which algorithm uses a priority queue to repeatedly pick the next closest vertex?
Which of the following is shared by the thread of the same process.
In Data Structures, which of the following algorithms uses the Divide and Conquer strategy?
Which of the following is NOT a greedy algorithm?
In dynamic programming, overlapping subproblems and _________ are key properties.