Pergunta de entrevista da empresa Upgrade

Design something involved with transactions and prevent double booking.