Collaboration doesn't have to mean staring at someone while they're trying to code.
Collaboration in actual programming work tends to be up front in figuring out together how a problem will be solved, as needed while working through the problem, and then review at the end. A coding interview can be structured in a similar way.
Collaboration in actual programming work tends to be up front in figuring out together how a problem will be solved, as needed while working through the problem, and then review at the end. A coding interview can be structured in a similar way.