Ceres Power interview question

Design a control system for a pool