โ† MongoDB questions
CodingReported in a candidate post, Apr 2026

Versioned Datastore with PUT and GET APIs

Filed under MongoDB

The question

Implement a versioned datastore supporting two unordered APIs: PUT(docId, contents, timestamp) to store document content at a given timestamp, and GET(docId, timestamp) to return the content of the document for the version just before the specified timestamp.

No write-up yet. Related questions below have one.

Related MongoDB questions

Collected from public candidate posts and coding forums. Updated Nov 2026.