AngelList interview question

implement an in-memory db in any language