Blue Yonder Interview Question

solve a puzzle