Comcast interview question

How to handle changing environments