Saxo Bank interview question

8 balls problem my background