Information Retrieval :URL hits in a time frame
问题 Algorithm Challenge : Problem statement : How would you design a logging system for something like Google , you should be able to query for the number of times a URL was opened within two time frames. i/p : start_time , end_time , URL1 o/p : number of times URL1 was opened between start and end time. Some specs : Database is not an optimal solution A URL might have been opened multiple times for given time stamp. A URL might have been opened a large number of times within two time stamps.