[문제15][LeetCode] 206. 역순 연결 리스트 https://leetcode.com/problems/reverse-linked-list/description/ Given the head of a singly linked list, reverse the list, and return the reversed list. Constraints: The number of nodes in the list is the range [0, 5000] -5000 코딩 테스트(JAVA)/리트코드 2024.04.06
[문제14][LeetCode] 21. 두 정렬 리스트의 병합 https://leetcode.com/problems/merge-two-sorted-lists/ You are given the heads of two sorted linked lists list1 and list2. Merge the two lists into one sorted list. The list should be made by splicing together the nodes of the first two lists. Return the head of the merged linked list. Constraints: The number of nodes in both lists is in the range [0, 50]. -100 코딩 테스트(JAVA)/리트코드 2024.04.06