Razorpay interview question

We need to design in memory database with basic operations - insert, delete, update and search