Greedy Algorithms8 sections · 316 units
Open in CourseQuiz: Patching Array
Why add miss
Check Your Understanding
In Patching Array, why do we add the value 'miss' when patching?
- A.It guarantees we cover exactly n values
- B.It is the smallest missing number
- C.Miss is always the median
- D.Adding miss doubles the range we can form, which is optimal