LeetCode - 206. Reverse Linked List
https://leetcode.com/problems/reverse-linked-list/?envType=study-plan&id=level-1
Reverse Linked List - LeetCode
Can you solve this real interview question? Reverse Linked List - Given the head of a singly linked list, reverse the list, and return the reversed list. Example 1: [https://assets.leetcode.com/uploads/2021/02/19/rev1ex1.jpg] Input: head = [1,2,3,4,5] O
leetcode.com
내 풀이
나 이거 못풀었음.. ㅠ
참고자료
https://rollingsnowball.tistory.com/138
leetcode 206. Reverse Linked Lists 리트코드 206. 역순 연결 리스트 문제
책에서 다룬 리트코드 문제들을 풀이한 포스팅이다. 문제는 모두 리트코드에 출제된 문제들이며, 직접 풀었지만, 책에서 주는 힌트와 풀이 과정들을 참고한 경우가 많다. 이곳은 정리한 책에 나
rollingsnowball.tistory.com
https://www.youtube.com/watch?v=gf_BiXt4YlQ
[Leetcode] 206.Reverse Linked List
연결된 리스트 뒤집기 206. Reverse Linked List https://leetcode.com/problems/reverse-linked-list/ Given the head of a singly linked list, reverse the list, and return the reversed list. Example 1: Input: head = [1,2,3,4,5] Output: [5,4,3,2,1] Examp
g1-kim.tistory.com