Here comes a new challenge.
I’m glad this one wasn’t on a real interview, it took me quite some time to get this right, I guess I wouldn’t have get the job this time. xD
You can download the source from here or see it below. :)
Given a set of versioned file, you need to cache them locally. Note that IPersistentCache semantics means that if you put a value in it, is is always going to remain there.
I’m glad this one wasn’t on a real interview, it took me quite some time to get this right, I guess I wouldn’t have get the job this time. xD
You can download the source from here or see it below. :)