Electrolux Interview Question

Which method did you apply to solve your last task?