Anthropic interview question

implement CRUD operations on a datastructure