結果 : algorithm for singly linked list