Filter interviews by
Be the first one to contribute and help others!
Polymorphism is the ability of an object to take on many forms. In C++, it is achieved through function overloading and virtual functions.
Polymorphism allows objects of different classes to be treated as objects of a common base class.
Function overloading enables multiple functions with the same name but different parameters.
Virtual functions allow derived classes to override base class functions.
Caching is the process of storing frequently used data in a temporary storage to reduce access time. LRU caching removes least recently used data.
Caching improves performance by reducing access time to frequently used data
LRU (Least Recently Used) caching removes the least recently used data to make space for new data
LRU cache can be implemented using a doubly linked list and a hash map
When a cache hit occurs, the acce...
based on 2 reviews
Rating in categories
TCS
Accenture
Wipro
Cognizant