You have three bucket/arrays and each array contains nos 0,1 & 2 and the size of array is 6. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

You have three bucket/arrays and each array contains nos 0,1 & 2 and the size of array is 6.

You have three bucket/arrays and each array contains nos 0,1 & 2 and the size of array is 6. How you arrange the three arrays such that array[1] has only 0 no, array[2] has only 1 & array[3] has only 2. You have only one char space available to swap the elements. And what’s the order notation for this.

14th Nov 2017, 2:19 PM
Mohd Shahid Ameen
Mohd Shahid Ameen - avatar
2 Answers
+ 13
Do your own homework! If you're stuck, provide the code and specify your problem.
14th Nov 2017, 2:23 PM
qwerty
qwerty - avatar
+ 3
how do you know it's his homework😂?
14th Nov 2017, 3:00 PM
᠌᠌Brains[Abidemi]
᠌᠌Brains[Abidemi] - avatar