Google Interview Question
Software EngineersCountry: United States
@divm01986 Is it necessary to have the tags set? You already have the tags in the tree.
Also, e.time - interval will not give you the timestamp of the last X seconds if the event is from yesterday. But probably in this kind of problem it is a normal assumption to make that the time of last event processed is the current time.Is it necessary to have the tags set? You already have the tags in the tree.
Also, e.time - interval will not give you the timestamp of the last X seconds if the event is from yesterday. But probably in this kind of problem it is a normal assumption to make that the time of last event processed is the current time.
- divm01986 April 10, 2017