Why do the interviewers ask such questions?
they try to discover the ability of the interviewees' solving problems.
they just ask questions without thinking much.
they want to discover what the interviewees know.
they are curious about the answers.