Swisslog interview question

straight forward