Microsoft Interview Question

LLD Round: Design an adaptive cache with capacity and log(n) insert, search, update and delete.