Design a system that recommends in-flight movies from a database, such that the total time matches directly with the flight time.
SituationalML EngineerMachine Learning EngineerData ScientistAI EngineerFirst, I would create a database schema to store movie details, including duration, genre, and ratings. Then, I'd implement an algorithm to filter movies based on the flight duration and user preferences. A key challenge is ensuring the total movie time exactly matches the flight time, which may involve a combinatorial optimization approach to select the right combination of movies.
To judge success, I would measure user satisfaction through feedback and engagement metrics, such as how many movies were watched during the flight. Additionally, I’d track the accuracy of recommendations against actual viewing habits, refining the model based on this data.