Fingerprint Interview Question

How would you implement eviction logic?Would you use go routines...?

Interview Answer

Anonymous

Aug 3, 2025

I would run a ticker in the background periodically and call the evict method as a go routine in the constructor and use mutexes to protect resources. Wrote additional code to show how to implement this