How would you feel about providing a chunk of code yourself, and being asked to work with it?
The interviewer could ask you about the code, and maybe ask for you to modify it?
It sort of shifts the burden to the interviewer to come up with reasonable changes on the fly, but would offer insight into the candidate's abilities on code they are familiar with.
The interviewer could ask you about the code, and maybe ask for you to modify it?
It sort of shifts the burden to the interviewer to come up with reasonable changes on the fly, but would offer insight into the candidate's abilities on code they are familiar with.