Block Interview Question

How would you design a booking system for a hotel chain?

Interview Answer

Anonymous

May 2, 2018

I made sketches of a couple of key screens in the UI, and a simple class diagram for the schema. We ended up talking about sharding as a performance improvement, and they explained idempotency keys as a technique for handling POSTs when the network is unreliable.

1