Arrays and Linked Lists - Implementations in Python - Problem Set

Download Q&A
Q. In a queue, which operation is performed to remove an element?
  • A. Push
  • B. Pop
  • C. Enqueue
  • D. Dequeue
Q. In a stack, which operation is used to remove the top element?
  • A. Enqueue
  • B. Dequeue
  • C. Push
  • D. Pop
Q. What is the time complexity of accessing an element in an array by index?
  • A. O(n)
  • B. O(log n)
  • C. O(1)
  • D. O(n log n)
Q. Which of the following is NOT a type of sorting algorithm?
  • A. Quick Sort
  • B. Merge Sort
  • C. Heap Sort
  • D. Stack Sort
Showing 1 to 4 of 4 (1 Pages)
Soulshift Feedback ×

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

Not likely Very likely