Leanplum Interview Question

Basic algorithms/data structures and design