Quiz

Data structures quiz: stacks, queues and linked lists

A data structures quiz on stacks, queues and circular linked lists: why recursion and bracket checks use a stack, BFS uses a queue and CPUs take turns.

  • 7 min read
  • 5 questions
  • +35 XP
Transcript

Do you know data structures? Let's find out. Answer these five questions to test your knowledge. Question 1 What is a data structure? Question 2 Which data structure is used for implementing recursion? Question 3 The data structure required to check whether an expression contains a balanced parenthesis is?

Question 4 The data structure required for Breadth First Traversal on a graph is? Question 5 Which of the following application makes use of a circular linked list? How many answers did you get right? Comment on the video.