Lime interview question

Write a cache and test it.