Logo

Data Structures Trivia

Stack, queue, sort, and heap your way to glory without losing the pointer.

EXAMPLE QUESTIONS

In Unix and Unix-like systems, what command displays the contents of the current directory?

Ls

What is the term for a function that invokes itself, typically using a base case to stop further calls?

Recursive function

What acronym describes a stack’s rule that the newest item is removed before older items?

LIFO

What cryptographic weakness made MD5 unsuitable for digital signatures and certificates?

Collision attacks

In a linear search of an unsorted list, what is the worst-case scenario?

Every item checked