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)
Geschreven voor
- Instelling
- CSE 2050
- Vak
- CSE 2050
Documentinformatie
- Geüpload op
- 1 juli 2024
- Aantal pagina's
- 6
- Geschreven in
- 2023/2024
- Type
- Tentamen (uitwerkingen)
- Bevat
- Vragen en antwoorden
Onderwerpen
-
cse 2050 exam with questions
Ook beschikbaar in voordeelbundel