Skip to content
This repository has been archived by the owner on Oct 14, 2021. It is now read-only.

[Dutch National Flag] #340

Closed
pratyush-patwa opened this issue Oct 29, 2020 · 2 comments
Closed

[Dutch National Flag] #340

pratyush-patwa opened this issue Oct 29, 2020 · 2 comments
Labels

Comments

@pratyush-patwa
Copy link
Contributor

pratyush-patwa commented Oct 29, 2020

We have an array consisting of only 0, 1 & 2. We have to sort the array in the linear time complexity.

Example:
Input array = [ 0, 2, 2, 1, 2, 0, 1, 1 ]
Output = [0, 0, 1, 1, 1, 2, 2, 2 ]

@Sumit2399
Copy link
Contributor

Hi @pratyush-patwa , can I work on the issue?

@phast184
Copy link
Contributor

Hi I would like to work on this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants