English, asked by gullmuhmmad382, 7 months ago

Clear selection
21) Antonym of Array.
1 point
O Marshall
O O
One
O
Pattern
O Design​

Answers

Answered by brpatel7878
0

Answer:

Method 1 (Count 0s or 1s)

Thanks to Naveen for suggesting this method.

1) Count the number of 0s. Let count be C.

2) Once we have count, we can put C 0s at the beginning and 1s at the remaining n – C positions in array.

SEE TO IT

MAY IT WOULD BE HELPFUL

FOLLOW ME

MARK ME AS BRAINLEST

VOTE MY ANSWER

Similar questions