Fundamental Algorithms8 sections · 291 units
Open in CourseQuiz: Container With Most Water
Test your understanding
Check Your Understanding
In Container With Most Water, why move the pointer at the shorter line?
- A.Shorter lines hold less water
- B.It balances the container
- C.Moving the taller line can only decrease or maintain area, never increase it
- D.It minimizes the number of iterations