TKWW interview question

Suggested to build a data model