The number of elements that can be sorted in time using heap sort is
(A)(B)
(C)
(d)
![]()
(A) A
(B) B
(C) C
(D) D
Answer: (C)
Explanation: Time complexity of Heap Sort is for m input elements. For m =
, the value of
will be
which will be
which is
Whether you’re preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, neveropen Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we’ve already empowered, and we’re here to do the same for you. Don’t miss out – check it out now!