Arrays and Linked Lists - Typical Problems - Applications

Download Q&A
Q. What is the primary characteristic of a queue?
  • A. Last In First Out
  • B. First In First Out
  • C. Random Access
  • D. Sorted Order
Q. What is the worst-case time complexity of Quick Sort?
  • A. O(n log n)
  • B. O(n^2)
  • C. O(n)
  • D. O(log n)
Q. Which data structure is used to implement a breadth-first search (BFS) algorithm?
  • A. Stack
  • B. Queue
  • C. Array
  • D. Linked List
Q. Which of the following is a characteristic of a doubly linked list?
  • A. Each node has one pointer
  • B. Nodes can be traversed in both directions
  • C. It uses less memory than a singly linked list
  • D. It cannot be used to implement a stack
Q. Which traversal method is used to visit all nodes in a binary tree?
  • A. In-order
  • B. Pre-order
  • C. Post-order
  • D. All of the above
Showing 1 to 5 of 5 (1 Pages)
Soulshift Feedback ×

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

Not likely Very likely