Dynamic Yield interview question

Architecture question, simple code task and talking about my experience