I'd give an interviewee a problem (domain) and ask them what questions they would ask the subject matter expert in regard to how the problem needs to be solved.
In other words, I'd be more interested in the interviewee's ability to analyze a problem and ask the correct questions to begin solving the problem.
There is a reason an unreasonably high percentage of software projects fail to meet expectations and get scrapped.
Clue: it isn't because developers can't solve questions like the ones posed by the OP.
If you have a room full of "genius" developers who don't understand the problem they are trying to solve, they will fail. Guaranteed.
Keep Up with TechRepublic