Multiple choice

what data structure could you use to store a grid (like a chess board)?

  1. a list

  2. a dictionary

  3. a vector

  4. a two dimensional array

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

A two-dimensional array (or a list of lists in Python) is the standard way to represent a grid structure.