Back to problems

News Aggregation / Subscription System

Object-Oriented Programming · Optiver · Medium

Requirements Create the NewsProvider class. If an operation violates a constraint, it must fail by returning false or an empty result; conditions described as guaranteed will not be tested as violations. Represent timestamps as seconds from the Unix epoch, using floating-point values with millisecond precision. AddSubscription(id, minInterest, maxNewsPerSecond, topics) -> bool — create a subscription, or replace the settings of the existing subscription with the same id. The…

Checking your access…