Ramp Interview Question

Implement an in-memory database supporting various operations across four progressive levels.