Problem

Return grid[r][c].

Examples

  • getCell([[1, 2], [3, 4]], 1, 0) -> 3
Compile and test (Ctrl+Enter)