## Discussion Forum

Que. | The total number of comparisons in a bubble sort is |

a. | O(log n) |

b. | O(n log n) |

c. | O(n) |

d. | None of the above |

Answer:O(n log n) |

Dear users, compscibits.com is now permanently moved to compsciedu.com. Please update all your links and bookmarks accordingly. Soon, the site will be accessible through URL compsciedu.com only.

Que. | The total number of comparisons in a bubble sort is |

a. | O(log n) |

b. | O(n log n) |

c. | O(n) |

d. | None of the above |

Answer:O(n log n) |

Questions from Previous year GATE question papers

UGC NET Previous year questions and practice sets

UGC NET Previous year questions and practice sets

Attempt a small test to analyze your preparation level. This GATE exam includes questions from previous year GATE papers.

Practice test for UGC NET Computer Science Paper. The questions asked in this NET practice paper are from various previous year papers.