<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KVGHS6G" height="0" width="0" style="display:none;visibility:hidden"></iframe>

Cruise计算机科学面试真题

职位分类
全部
数据相关
计算机科学
人工智能
产品经理
BQ
面试题
全部(3)
OOD(0)
Algorithm(1)
System Design(2)
高频题(0)
Math(0)
全部(3)
OOD(0)
Algorithm(1)
System Design(2)
高频题(0)
Math(0)
1.Designing a Metric System
2.Circular Buffer Implementation
3.API Design for Interval Coverage Check
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.