Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

QuestionNo.1 Considering the pseudocode of Heap Sort , answer the following ques

ID: 3618740 • Letter: Q

Question

QuestionNo.1

Considering the pseudocode of Heap Sort , answer the following

questions (you need tojustify your answers as well),

a. What will be therunning time of Heap Sort if input is sorted inascending

order

b. What will be therunning time of Heap Sort if input is sorted indescending

order

c. What is best caseinput (format of input resulting in best case time) forHeap

Sort.

QuestionNo.2

Considering the pseudocode of Quick Sort , answer the following

questions (you need tojustify your answers as well),

a. What will be therunning time of Quick Sort if input is sorted inascending

order

b. What will be therunning time of Quick Sort if input is sorted indescending

order

c. What is best caseinput (format of input resulting in best case time) forQuick

Sort.

QuestionNo.3

Give the conditions, inwhich we can use the following linear time algorithms,

a. CountingSort

b. Radix Sort

c. Bin Sort

Explanation / Answer

pick only one question

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Chat Now And Get Quote