Computer Science & IT

Download Q&A
Q. What is the time complexity of deleting an element from a linked list when the pointer to the node is given?
  • A. O(1)
  • B. O(n)
  • C. O(log n)
  • D. O(n log n)
Q. What is the time complexity of deleting an element from a linked list when you have a pointer to that node?
  • A. O(1)
  • B. O(n)
  • C. O(log n)
  • D. O(n^2)
Q. What is the time complexity of deleting an element from a linked list?
  • A. O(1)
  • B. O(n)
  • C. O(log n)
  • D. O(n^2)
Q. What is the time complexity of deleting an element from a queue implemented using a linked list?
  • A. O(1)
  • B. O(n)
  • C. O(log n)
  • D. O(n^2)
Q. What is the time complexity of deleting an element from a queue implemented with a linked list?
  • A. O(1)
  • B. O(n)
  • C. O(log n)
  • D. O(n log n)
Q. What is the time complexity of deleting an element from a queue?
  • A. O(1)
  • B. O(n)
  • C. O(log n)
  • D. O(n^2)
Q. What is the time complexity of deleting an element from a singly linked list when the pointer to the node is given?
  • A. O(1)
  • B. O(n)
  • C. O(log n)
  • D. O(n^2)
Q. What is the time complexity of deleting an element from a stack?
  • A. O(1)
  • B. O(n)
  • C. O(log n)
  • D. O(n^2)
Q. What is the time complexity of deleting the last element from a dynamic array?
  • A. O(1)
  • B. O(n)
  • C. O(log n)
  • D. O(n^2)
Q. What is the time complexity of deleting the last element from a singly linked list?
  • A. O(1)
  • B. O(n)
  • C. O(log n)
  • D. O(n^2)
Q. What is the time complexity of deleting the last node in a singly linked list?
  • A. O(1)
  • B. O(n)
  • C. O(log n)
  • D. O(n log n)
Q. What is the time complexity of depth-first search (DFS) in a graph?
  • A. O(V)
  • B. O(E)
  • C. O(V + E)
  • D. O(V^2)
Q. What is the time complexity of depth-first search (DFS) on a graph?
  • A. O(V)
  • B. O(E)
  • C. O(V + E)
  • D. O(V * E)
Q. What is the time complexity of dequeuing an element from a queue implemented using a circular array?
  • A. O(1)
  • B. O(n)
  • C. O(log n)
  • D. O(n^2)
Q. What is the time complexity of dequeuing an element from a queue implemented using a linked list?
  • A. O(1)
  • B. O(n)
  • C. O(log n)
  • D. O(n log n)
Q. What is the time complexity of dequeuing an element from a queue implemented using an array?
  • A. O(1)
  • B. O(n)
  • C. O(log n)
  • D. O(n^2)
Q. What is the time complexity of Dijkstra's algorithm using a binary heap?
  • A. O(V^2)
  • B. O(E log V)
  • C. O(V log V)
  • D. O(E + V)
Q. What is the time complexity of Dijkstra's algorithm using a priority queue implemented with a binary heap?
  • A. O(V^2)
  • B. O(E log V)
  • C. O(V log V)
  • D. O(E + V)
Q. What is the time complexity of Dijkstra's algorithm using a priority queue?
  • A. O(V^2)
  • B. O(E + V log V)
  • C. O(V log V)
  • D. O(E log V)
Q. What is the time complexity of Dijkstra's algorithm when implemented with a binary heap?
  • A. O(V^2)
  • B. O(E log V)
  • C. O(V log V)
  • D. O(E + V)
Q. What is the time complexity of Dijkstra's algorithm when using a binary heap?
  • A. O(V^2)
  • B. O(E log V)
  • C. O(V log V)
  • D. O(E + V)
Q. What is the time complexity of Dijkstra's algorithm when using a priority queue implemented with a binary heap?
  • A. O(V^2)
  • B. O(E log V)
  • C. O(V log V)
  • D. O(E + V)
Q. What is the time complexity of enqueue and dequeue operations in a queue implemented using a linked list?
  • A. O(1)
  • B. O(n)
  • C. O(log n)
  • D. O(n log n)
Q. What is the time complexity of enqueue and dequeue operations in a queue implemented with a linked list?
  • A. O(1)
  • B. O(n)
  • C. O(log n)
  • D. O(n log n)
Q. What is the time complexity of enqueue and dequeue operations in a standard queue implemented using a linked list?
  • A. O(1)
  • B. O(n)
  • C. O(log n)
  • D. O(n log n)
Q. What is the time complexity of enqueueing an element in a queue implemented using an array?
  • A. O(1)
  • B. O(n)
  • C. O(log n)
  • D. O(n^2)
Q. What is the time complexity of enqueueing an element in a queue implemented using a linked list?
  • A. O(1)
  • B. O(n)
  • C. O(log n)
  • D. O(n log n)
Q. What is the time complexity of enqueueing an element in a queue implemented with a linked list?
  • A. O(1)
  • B. O(n)
  • C. O(log n)
  • D. O(n log n)
Q. What is the time complexity of enqueueing an element in a queue?
  • A. O(1)
  • B. O(n)
  • C. O(log n)
  • D. O(n^2)
Q. What is the time complexity of enqueuing an element in a queue implemented using an array?
  • A. O(1)
  • B. O(n)
  • C. O(log n)
  • D. O(n^2)
Showing 1831 to 1860 of 3237 (108 Pages)
Soulshift Feedback ×

On a scale of 0–10, how likely are you to recommend The Soulshift Academy?

Not likely Very likely