Apptentive Interview Question

data structure question