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
Social Sciences,
4 months ago
Science,
4 months ago
Chemistry,
9 months ago
Computer Science,
1 year ago