How to Determine a Palindrome Linked List
OriginalAbout 3335 words
This article will resolve
LeetCode | Difficulty |
---|---|
234. Palindrome Linked List | 🟢 |
Prerequisites
Before reading this article, you need to learn:
In the previous article Summary of Two-Pointer Techniques for Arrays, we discussed problems related to palindromic strings and sequences. Let's briefly review.
The core idea of finding palindromic strings is to expand from the center to both ends: