n11.com interview question

Given a clickstream data, solve certain streaming data problems such as windowed aggregations