DEV Community

Discussion on: Terrible Interview Questions

Collapse
 
elmuerte profile image
Michiel Hendriks • Edited

Which collection data structure to you most associate with?

  • Stack
  • Queue
  • Skip list
  • Bloom filter

Somebody who's a stack would obviously always work on the latest thing which was given to them. And a queue person would always finish the things which came in first.

A skip list person organized all their work in layers, where each layer has a bunch of tasks linked together.

The bloom filter person could reliably answer that they are not working on something. But cannot be completely sure if they are working on something.

Collapse
 
tvanantwerp profile image
Tom VanAntwerp

TIL I'm a bloom filter.