CSE 2050 Exam with Questions Solved 100% Correct
We want to heapify an unordered collection in O(n).Which of the following method(s) is most likely to be useful? a. we can achieve this using upheap or downheap b. using upheap (but not downheap) c. using downheap (but not upheap) d. repeatedly calling put - ANSWER c. using downheap (but not upheap)
Written for
- Institution
- CSE 2050
- Course
- CSE 2050
Document information
- Uploaded on
- July 1, 2024
- Number of pages
- 6
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
cse 2050 exam with questions
Also available in package deal