HomeSpotter interview question

How would you design a database system?