This kind of bad interview is rife. It’s often more a case of guess what the interviewer thinks than come up with a good solution.