2014-01-28 - Hit Aggregator Programming Problem
This programming problem came to me through an interview some time ago. Maybe I'm slow, but it's not the type of problem I can solve in 10-15 minutes under the stress of an interview and coding on a whiteboard. I didn't get the job, but I did go home and solve the problem on my own - for fun. I ended up spending a couple hours coding it after mulling over the problem for an afternoon during the course of other activities. It's an interesting data structure problem.
If you're writing a Java app and need to open or save a file, you may wonder how to determine where to look for or put the file. Three options come to mind.