Difference between online (real-time) and offline algorithms:
- an online algorithm A executes the given operation without any knowledge of the future incoming operations
- an offline algorithm knows the whole sequence in advance
An online algorithm is
Self-organizing lists. Elements that are accessed frequently will be in front of the list.
MTF algorithm is