cache-low-level-system-design
cache-low-level-system-design copied to clipboard
Low level deisgn for cache system
1) Fixed some test cases 2) Added getElement() fn. in DLLNode class
In class DoublyLinkedList, the method detachNode(), Here we need to check the node that we are deleting having prev and next not null as: case 1 : if(node.prev!=null){ node.prev.next =...
Case - Adding the key which is already exist in the Cache with some new value Expected Behaviour - Update the value associated with the key. Mark the key as...