GDSC-AUM / OpenOcto-DSA

Data Structures and Algorithms implemented in C++
MIT License
5 stars 23 forks source link

DNF Sort in Cpp #71

Open Ridhima-10 opened 3 years ago

Ridhima-10 commented 3 years ago

Program Description DNF sort program sorts values of in an array. It sorts an array of 0, 1, and 2's in linear time that does not consume any extra space.

Additional context Input: {0, 1, 2, 0, 1, 2} Output: {0, 0, 1, 1, 2, 2}

Checklist

Ridhima-10 commented 3 years ago

@unshDee I would like to contribute on this issue. Can you please assign it to me?