Java-Questions-and-Solutions icon indicating copy to clipboard operation
Java-Questions-and-Solutions copied to clipboard

Segregate 0s and 1s in an array

Open nik132-eng opened this issue 4 years ago • 4 comments

Enter your question -

You are given an array of 0s and 1s in random order. Segregate 0s on the left side and 1s on the right side of the array [Basically you have to sort the array]. Traverse array only once.

Enter link to the question(if question belongs to any online platform) -

https://www.geeksforgeeks.org/segregate-0s-and-1s-in-an-array-by-traversing-array-once/

Tags for the question(eg - Array, Basic, Stack, etc.) -

array

nik132-eng avatar Oct 11 '21 08:10 nik132-eng

@nik132-eng Do you want to work on this? if Yes Kindly request by saying "Kindly Assign this to me".

RAshid602 avatar Oct 11 '21 09:10 RAshid602

yes sir, can you please assign it to me for hacktober fest

nik132-eng avatar Oct 11 '21 09:10 nik132-eng

hello sir can you please assign me this issue?

nik132-eng avatar Oct 12 '21 13:10 nik132-eng

@RAshid602

nik132-eng avatar Oct 12 '21 13:10 nik132-eng