Please share what is the ideal interview.
At least this type of interview seems to solve the problem of developers strangely needing to study for an interview, and I would guess it also better represents coding ability.
Alternate versions can include "debug this" and "design this" (which is pretty popular AFAIK).