Ask your own question, for FREE!
Computer Science 14 Online
OpenStudy (anonymous):

By scanning the elements of sorted array, it is possible to find out how many times a particular value occurs in the array???pls post solution using c++

OpenStudy (turingtest):

nobody is supposed to give out complete solutions here, so here's some pseudocode //initialize counter to 0 //iterate over the array //if the element we are looking at is the same as value //increment counter by one

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!