Blue Yonder interview question

solve a puzzle