Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Latest commit

 

History

History
executable file
·
12 lines (7 loc) · 251 Bytes

File metadata and controls

executable file
·
12 lines (7 loc) · 251 Bytes

题目

Given a singly linked list, determine if it is a palindrome.

Follow up: Could you do it in O(n) time and O(1) space?

解题思路

见程序注释