My favorite coding interview ever is still from many years ago when I interviewed at Pivotal labs.
It was an in person pair programming session, with the interviewer driving.
Most importantly, it was collaborative, whereas many interviews often feel adversarial.
It also tested how you communicate, since you weren't the one typing.
However, it still tested your coding skills, but because the interviewer was "on your side" with respect to the desired output code, it wasn't a dealbreaker or stressful situation if you forgot the signature of an important method or function.
But it also touched on actual coding skills, while not requiring you