๐Ÿ’ปap computer science a review

Consecutive Pairs in a 2D Array

Written by the Fiveable Content Team โ€ข Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examโ€ขWritten by the Fiveable Content Team โ€ข Last updated September 2025

Definition

Consecutive pairs in a 2D array refer to adjacent elements within the array that are next to each other either horizontally or vertically.

"Consecutive Pairs in a 2D Array" also found in: