Intuit Interview Question

reversal of linkedlist