DhanushNehru / Hacktoberfest2024

Hacktoberfest 2024 OPEN FIRST Pull Request - SUPPORT OPEN SOURCE - Don't forget to spread love and if you like give us a ⭐️
84 stars 520 forks source link

sort colours.java #402

Open GAJAL999 opened 3 weeks ago

GAJAL999 commented 3 weeks ago

This provides a basic insights of DNF (Dutch National Flag) approach to sort array with elements (0,1,2) in any order and any number. Here, DNF means Dutch National Flag as it has three colors sorted similarly this algo sorts three numbers

GAJAL999 commented 3 weeks ago

Please merge my pull request as it is a very basic and important question for beginners

DhanushNehru commented 3 weeks ago

Hi @GAJAL999 please follow this updated guidelines