Question d’entretien chez Nubank

Implement a method for an in-memory database.