Algorithm/LeetCode

·Algorithm/LeetCode
[ 문제링크 ] https://leetcode.com/problems/odd-even-linked-list/ [ 문제 이름 ] 328. Odd Even Linked List [ 문제 ] Given the head of a singly linked list, group all the nodes with odd indices together followed by the nodes with even indices, and return the reordered list. The first node is considered odd, and the second node is even, and so on. Note that the relative order inside both the even and odd grou..
행복한 (돌)맹이
'Algorithm/LeetCode' 카테고리의 글 목록