Riskified interview question

Build a data base using this resource