---
title: "Discussion on \"3 Insertion Sort List --> \nLeetcode November 2020 Challenge\" | Hashnode"
description: "Discussion on \"3 Insertion Sort List --> \nLeetcode November 2020 Challenge\". Question\n\nSort a linked list using insertion sort.\nExample 1:\nInput: 4->2->1->3\nOutput: 1->2->3->4\nExample 2:\nInput: -1->5->3->4->0\nOutput: -1->0->3->4->5\nSolution\n\nInsertion sort is a simple sorting algorithm that works similarly to the way you sort..."
url: "https://hashnode.com/posts/3-insertion-sort-list-greater-leetcode-november-2020-challenge/5fa032efde85d46a77d5f7a5"
---

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

Discussion

# [3 Insertion Sort List --> Leetcode November 2020 Challenge](https://codewithkeshav.hashnode.dev/3-insertion-sort-list-greater-leetcode-november-2020-challenge?utm_source=hashnode&utm_medium=feed)

Question Sort a linked list using insertion sort. Example 1: Input: 4->2->1->3 Output: 1->2->3->4 Example 2: Input: -1->5->3->4->0 Output: -1->0->3->4->5 Solution Insertion sort is a simple sorting algorithm that works similarly to the way you sort...

Nov 2, 2020 · 8 min read · codewithkeshav.hashnode.dev  
Read the article

-   [#leetcode](https://hashnode.com/tag/leetcode)

## Written by

[Keshav Chaurasia](https://hashnode.com/@keshavchaurasia)

@keshavchaurasia

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
