Question
Which shortest-path algorithm is appropriate for graphs
with non-negative weights and supports decrease-key efficiently for faster performance?Solution
Using a Fibonacci heap yields O(E + V log V) for Dijkstra, with faster amortized decrease-key than binary heap.
Which of the following is a key advantage of digital signatures?
What is a key advantage of containerization over traditional virtual machines?
Which algorithm is used for computing Max-Flow in a network?
- Which of the following is the primary characteristic of Infrastructure as a Service (IaaS) in cloud computing?
In networking, what is the primary purpose of subnetting?
Which of the following accurately describes the role of virtual memory in modern operating systems?
Which CPU scheduling algorithm always selects the process with the smallest burst time first, potentially leading to starvation?
Which of the following data structures is best suited for implementing a "undo" mechanism in a text editor?
Which data structure is used for undo operations in text editors?
What is the time complexity of searching an element in a balanced binary search tree (BST) with nnn nodes?