Whirlpool Corporation interview question

Logical exercise