Pergunta de entrevista da empresa Block

From an in-memory database (my choice of datastructure), implement two methods to insert and retrieve info from databases. Use these methods to cover 6 or so different use cases.