The data structure required for Breadth-First Traversal on a graph is?
What is the minimum number of passes needed to sort the following elements using insertion sort?
14, 12, 16, 6, 3, 10
Before pushing an element onto a stack, one must check the condition of _____.
What will be the ciphered text for the input string "abekus" with the key string "code" using the keyword cipher?
Which of the following ways can be used to represent a graph?
What is the meaning of 'cipher' in cryptography?
What does the following program compute?
A line drawn at 90 degrees to a given line from a given point represents the shortest distance between the line and the point.
When is the linear search algorithm fastest?
N items are stored in a sorted doubly linked list. For a delete operation, a pointer is provided to the record to be deleted. For a decrease-key operation, a pointer is provided to the record on which the operation is to be performed. An algorithm performs the following operations on the list in this order: Θ(N) delete, O(log N) insert, O(log N) find, and Θ(N) decrease-key What is the time complexity of all these operations put together