Build a least-recently-used cache with O(1) get and put, with working code and tests — then make it safe for concurrent use.
Build a least-recently-used cache with O(1) get and put, with working code and tests — then make it safe for concurrent use.
Opens with the full question.