Pinterest interview question

Data structures that you would use for some Pinterest Features