---
title: "Discussion on \"Sorting, Simplified: A Beginner's Guide to the Dutch National Flag Algorithm.\" | Hashnode"
description: "Discussion on \"Sorting, Simplified: A Beginner's Guide to the Dutch National Flag Algorithm.\". Given an array containing only 0s, 1s, and 2s. How do you sort it out?\nyou must be wondering, why is this even a question\nisn't it inherent that we can just sort it, by maybe using some inbuilt function or maybe any of the sorting techniques?\nOkay, s..."
url: "https://hashnode.com/posts/sorting-simplified-a-beginners-guide-to-the-dutch-national-flag-algorithm/643671676fa1ad5da6939059"
---

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

Discussion

# [Sorting, Simplified: A Beginner's Guide to the Dutch National Flag Algorithm.](https://blog.theadeshkhanna.com/sorting-simplified-a-beginners-guide-to-the-dutch-national-flag-algorithm?utm_source=hashnode&utm_medium=feed)

Given an array containing only 0s, 1s, and 2s. How do you sort it out? you must be wondering, why is this even a question isn't it inherent that we can just sort it, by maybe using some inbuilt function or maybe any of the sorting techniques? Okay, s...

Apr 12, 2023 · 4 min read · blog.theadeshkhanna.com  
Read the article

-   [#cocodeblogs](https://hashnode.com/tag/cocodeblogs)
-   [#cpp](https://hashnode.com/tag/cpp)
-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#sorting](https://hashnode.com/tag/sorting)
-   [#hashnode](https://hashnode.com/tag/hashnode)

## Written by

[Adesh Khanna](https://hashnode.com/@theadeshkhanna)

@theadeshkhanna · Varanasi, India

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

Software Engineer 🧑‍💻 | Finding Opportunities

Hi, Nice seeing you here I am a Software Engineer with a background in Computer Science having in-depth knowledge of Backend Development, Frontend Development and DevOps. I Love building and deploying systems with my knowledge and create a product that is easily accessible to all. Really appreciate your time.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
