Springer Nature interview question

1.) Design LRU 2.) Design customised logger like log4j