Total Accepted: 39482
Total Submissions: 145556
Difficulty: Easy
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?
Java:
1 | /** |
select * from utils
Total Accepted: 39482
Total Submissions: 145556
Difficulty: Easy
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?
Java:
1 | /** |
欢迎加入我的小专栏「基你太美」一起学习。