← 返回 amazon 的题目列表Camera API Design
类型:online_judge
Design and implement a camera data interface. You need to implement two functions, recv_data and send_data, to receive and send data of the camera. Implement this interface using Python. Ensure that the design is flexible and easily extensible. Provide sufficient test cases to validate your implementation.