Skip to content

given an array of n numbers of 0's & 1's. sort the array. input a[]= {1,1,0,1,0,0,0,1,1,1}, expected output a[]= {0,0,0,0,1,1,1,1,1,1}

Notifications You must be signed in to change notification settings

sainithennredhibomireddy2005/sorting-array-of-0-s-1-s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

About

given an array of n numbers of 0's & 1's. sort the array. input a[]= {1,1,0,1,0,0,0,1,1,1}, expected output a[]= {0,0,0,0,1,1,1,1,1,1}

Topics

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published