leetcode.com/problems/palindrome-linked-list/
Palindrome Linked List - LeetCode
Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.
leetcode.com
문제 풀이 방식
1. 노드를 끝까지 탐색해서 길이를 구함
2. 펠린드롬 여부 검사
주의할 점
소스코드
'Leetcode 100문제 도전' 카테고리의 다른 글
[Leetcode 25/100] Product of Array Except Self - Medium (0) | 2021.01.21 |
---|---|
[Leetcode 24/100] Palindromic Substrings - Medium (0) | 2021.01.21 |
[Leetcode 22/100] Top K Frequent Elements - Medium (0) | 2021.01.21 |
[Leetcode 21/100] Kth Smallest Element in a BST - Medium (1) | 2021.01.20 |
[Leetcode 20/100] Linked List Cycle - easy (1) | 2021.01.18 |