Question: Write a program to segregate all 0s on left side and all 1s on right side of a given array of 0s and 1s.
Write a program to segregate all 0s on left side and all 1s on right side of a given array of 0s and 1s.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
