The number of comparisons required for bubble sorting of an array of n elements is ________
a) n(n-1)/2
b) n/2
c) log2n
d) log10n
Please read the guide .
Please answer the question in detail
Doubtly is an online community for engineering students, offering:
Get the pro version for free by logging in!
5.7k questions
5.1k answers
108 comments
557 users