Question
Prateek drove 18 km to the west from his house, then
turned left and drove 22 km. He then turned east and drove 24 km and finally turning left covered 22 km. How far he is from his house? Study the following information carefully and answer the questions given below:Solution
Required distance = 24 – 18 = 6 Km
In Data Communication, what protocol is used to ensure reliable transmission of data over a network?
Which shortest-path algorithm is appropriate for graphs with non-negative weights and supports decrease-key efficiently for faster performance?
The recurrence relation T(n) = 2T(n/2) + O(n) corresponds to which algorithm’s time complexity?
In Database Management Systems, what is the primary purpose of normalization?
In a binary tree, if the number of leaf nodes is L, what is the number of nodes with two children?
Which data structure supports extraction of both min and max in O(1) time and insertion in O(log n)?
A unique piece of information that is used in encryption.
In hashing, what is a collision?
Which of the following is true about the time complexity of Merge Sort?
In dynamic programming, which principle ensures correctness by solving overlapping subproblems and storing results?