OPTIONS
Choose the correct option.
Consider an array on which bubble sort is used. To which of the given elements will the bubble
sort compare the element A[x] with, in a single iteration?
A[x+1]
A[x+2]
A[x+2x]
All of the above
Answers
Answered by
1
Answer:
I think it must be A[x+2x]
Explanation:
With a single iteration the element
Similar questions
Math,
3 months ago
Social Sciences,
3 months ago
Chemistry,
7 months ago
Math,
10 months ago
Computer Science,
10 months ago