DoorDash interview question

Design a DB supporting transactions