Honeywell interview question

Reversing linked list in Python