Dell Technologies interview question

Implement lru cache and difference between equals and hashcode