Andritz interview question

Real life case to solve