Do not ask programmers to write something from scratch as an interview. This is too suspicious.
Think about the qualities that you want in the developer, and then write an application in which all this is done incorrectly, and ask them to fix it. For example, if you need an object-oriented developer, give them an application with data tables directly linked to the user interface, and ask them to do this OO - this means that they can show you in a few minutes that they have OO skills.
, "" , , , - .
. , , .