Allied Telesis Interview Question

Reversing a string in C, finding a loop in a Link list