ЁЯУв Too many exams? DonтАЩt know which one suits you best? Book Your Free Expert ЁЯСЙ call Now!


    Question

    For a comparison-based sorting algorithm, which lower

    bound applies to the worst-case number of comparisons?
    A ╬й(n) Correct Answer Incorrect Answer
    B ╬й(n log n) Correct Answer Incorrect Answer
    C ╬й(log n) Correct Answer Incorrect Answer
    D ╬й(n┬▓) Correct Answer Incorrect Answer
    E ╬й(n!) Correct Answer Incorrect Answer

    Solution

    Comparison sort lower bound is ╬й(n log n) comparisons in the worst case by decision tree argument.

    Practice Next
    More Algorithms Questions
    ask-question