Dynamic Yield interview question

Lessons learned from past experience