LinkedIn Interview Question

Implement a data structure having add, sub, remove features.