Hard

You're building a caching system that shouldn't prevent objects from being garbage collected. What's wrong with the current implementation and which solution properly handles memory management?

Choose an option below