Protiviti Interview Question

Reverse first k elements of a link list