SarthakKeshari / Java-Questions-and-Solutions

This repository aims to solve and create new problems from different spheres of coding. A path to help students to get access to solutions and discuss their doubts.
MIT License
46 stars 95 forks source link

Segregate 0s and 1s in an array #394

Open nik132-eng opened 2 years ago

nik132-eng commented 2 years ago

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

RAshid602 commented 2 years ago

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

nik132-eng commented 2 years ago

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

nik132-eng commented 2 years ago

hello sir can you please assign me this issue?

nik132-eng commented 2 years ago

@RAshid602