---
title: "Discussion on \"Reorder list\" | Hashnode"
description: "Discussion on \"Reorder list\". Input: head = [1,2,3,4]\nOutput: [1,4,2,3]\nFirst find the middle of the list\nSecond reverse the second half\nThird merge the two lists\n\nFind the middle of the list by using the fast pointer/slow pointer technique. \n//given ListNode head\nListNode fast =..."
url: "https://hashnode.com/posts/reorder-list/635b47d6768f0aee54e39365"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Reorder list](https://simonpyjavaplus.hashnode.dev/reorder-list?utm_source=hashnode&utm_medium=feed)

Input: head = \[1,2,3,4\] Output: \[1,4,2,3\] First find the middle of the list Second reverse the second half Third merge the two lists Find the middle of the list by using the fast pointer/slow pointer technique. //given ListNode head ListNode fast =...

Oct 28, 2022 · 1 min read · simonpyjavaplus.hashnode.dev  
Read the article

-   [#reverse-linked-list](https://hashnode.com/tag/reverse-linked-list)
-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#linkedlists](https://hashnode.com/tag/linkedlists)

## Written by

[Simon Kuang](https://hashnode.com/@simonpyjavaplus)

@simonpyjavaplus

  
[View profile](https://hashnode.com/@simonpyjavaplus)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
