Reorder List (Leetcode 143) || Problem-Of-The-Day (GFG) - 30th November
Опубликовано: 30 Ноябрь 2022 на канале: Mohit Bodhija
90
6
You are given the head of a singly linked-list. The list can be represented as:
L0 → L1 → … → Ln - 1 → Ln
Reorder the list to be on the following form:
L0 → Ln → L1 → Ln - 1 → L2 → Ln - 2