Slalom interview question

Sql / python coding data structures