Tino APCS

Two-Dimensional Array Algorithms

  1. The most common 2-D array algorithms will involve processing the entire grid, usually row-by-row or column-by-column.

  2. Problem-solving on a matrix could involve:

    • adding the elements in a given row
    • Searching through a row or column for a given value
    • Changing the value of cells
    • Performing logic or operations on adjacent cells in a 2D array

Dark Mode

Outline