1. Designing a Metric System
Design a metric system for a given application. Outline the requirements, the data you would collect, how you would store and process this data, and how the system would be used by the stakeholders.
2. Circular Buffer Implementation
Explain how you would implement a circular buffer. Discuss the data structure you would use, the algorithms involved, and any edge cases you need to handle.
3. API Design for Interval Coverage Check
Design an API with a function check(number) that determines if a given number is covered by the current interval. Discuss the implementation details, possible use cases, and how you would test this API.