Frage im Vorstellungsgespräch bei DNAnexus

How to reverse a C-array? How to reverse a linked list? How would you go about debugging?