public static void main(String args[]){
        LRUCache lruCache = new LRUCache(5);
        lruCache.used(4);
        
        lruCache.used(5);
        lruCache.printCache();
        lruCache.used(6);
        lruCache.printCache();
        lruCache.used(5);
        lruCache.printCache();
        lruCache.used(9);
        lruCache.printCache();
        lruCache.used(10);
        lruCache.printCache();
        lruCache.used(11);
        lruCache.printCache();
        lruCache.used(16);
        lruCache.printCache();
        lruCache.used(10);
        lruCache.printCache();
        lruCache.deleteFromCache(10);
        lruCache.printCache();
        lruCache.deleteFromCache(9);
        lruCache.printCache();
    }
http://www.geeksforgeeks.org/implement-lru-cache/
Test cases:
MAX_SIZE greater than 1
Delete when empty
Delete when full
Enter data more than max
Delete till cache is empty
src/com/interview/linklist/LRUCache.java