Blue Yonder interview question

some tricky question