Twilio interview question

Some basic data structures