You are viewing a single comment's thread. Return to all comments →
for 0<=i if they are not equal increment s. s-1 would be the answer. i.e, no.of elements that are not in right place - 1
Lily's Homework
You are viewing a single comment's thread. Return to all comments →
for 0<=i if they are not equal increment s. s-1 would be the answer.
i.e, no.of elements that are not in right place - 1