Pregunta de entrevista de Amazon

How to simplify a complex pipeline?