Question
Given below are six sentences. A and F are the first
and the last sentences. The rest of the sentences namely B, C, D and E are jumbled. Select the option that gives their correct order. A. After about half an hour on the marsh, there was a sound of a shot nearby. B. “Over there! Come on!” said the sergeant pointing to the sea. C. We all stopped and listened carefully. D. We all ran towards the sea. E. Then we heard two more shots and a red rocket rose into the sky. F. Soon we could see the light of torches, and hear shouting and splashing.Solution
The correct answer is B
Which sorting algorithm divides the array into halves recursively?
In dynamic programming, which principle ensures correctness by solving overlapping subproblems and storing results?
Which of the following operations on a data structure refers to the removal of an element from the front of a queue?
Which of the following algorithms is most appropriate for a sorting task that requires minimal auxiliary space?
In mobile computing, what is the main feature of pervasive computing?
Which of the following is true for the time complexity of binary search?
Recursive problems are implemented by
Which of the following algorithms uses a greedy approach?
The time complexity of computing the all-pairs shortest paths in a dense graph with V vertices using Floyd–Warshall is:
In dynamic programming, overlapping subproblems and _________ are key properties.