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

Aurora计算机科学面试真题

职位分类
全部
数据相关
计算机科学
人工智能
产品经理
BQ
面试题
全部(4)
OOD(1)
Algorithm(1)
System Design(2)
高频题(0)
Math(0)
全部(4)
OOD(1)
Algorithm(1)
System Design(2)
高频题(0)
Math(0)
1.Shortest Path in a Hexagonal Grid Graph
2.Implement a Shared Pointer
3.Design a Cleaning System for a Self-Driving Car
4.Design a System to Monitor a Self-Driving Car
1. Shortest Path in a Hexagonal Grid Graph
The problem involves finding the shortest path in a hexagonal grid graph from point A to point B. The grid consists of cells shaped as hexagons, and you need to define traversal in six directions. The shortest path can be determined using breadth-first search (BFS). The follow-up question addresses the scenario where there are blockers on the graph that prevent traversal: simply do not include those blocked paths in the next traversal.
2. Implement a Shared Pointer
Implement a shared_ptr, including the move constructor. Discuss the implementation details and how you would handle memory management.
3. Design a Cleaning System for a Self-Driving Car
Design a cleaning system for a self-driving car that involves a primary compute module responsible for programming and a third-party Programmable Control Module (PCM) with High-Side Drivers (HSD) connected to valves for water and air. Discuss how you would design the system considering the inputs and outputs, the programmability of the PCM, and any constraints provided.
4. Design a System to Monitor a Self-Driving Car
Design a system to monitor a self-driving car. If real-time data transmission to the server is interrupted while the car is on the road, should the car continue to drive or stop? Discuss how the system would handle such scenarios and what factors would influence the decision.