Suppose i have a vector a[i] having size of100, which means i=100 here ! Now I know if my vector is random i can rearrange it using qsort() in C..or can use bubble sort algorithm !
But suppose I want to arrange my elements randomly and remove 30% of numbers from it and again rearrange it using indices !
Problem :
How to arrange a elements of vector a[i] where i is = to 100, in random manner then chop off 30% elements (randomly) then rearrange the indices now i = 70 in the same order !
Thanks
kk
But suppose I want to arrange my elements randomly and remove 30% of numbers from it and again rearrange it using indices !
Problem :
How to arrange a elements of vector a[i] where i is = to 100, in random manner then chop off 30% elements (randomly) then rearrange the indices now i = 70 in the same order !
Thanks
kk
Comment