C++20 sections · 1024 units
Open in Course

Quiz: Array Reversal

Understanding the algorithm

Check Your Understanding

For array {1,2,3,4,5}, how many swaps does the two-pointer reversal perform?

  1. A.5
  2. B.3
  3. C.4
  4. D.2
Start the roadmap to answer the quizzes and solve the challenges