Paramount interview question

data structures