結果 : write ac function to reverse a singly linked list