Design an Accurate Click Aggregator | Apple Interview Question