Codehs 8.1.5 Manipulating: 2d Arrays
I don't have direct access to CodeHS's specific problem statements or answer keys, but I can certainly help you understand how to manipulate 2D arrays in Java (since CodeHS Unit 8.1 is typically Java's 2D arrays).
[0,0] [0,1] [0,2] <-- Row 0
[1,0] [1,1] [1,2] <-- Row 1
[2,0] [2,1] [2,2] <-- Row 2
let grid = [
[1, 2, 3],
[4, 5, 6],
[7, 8, 9]
];
console.log(array); // Output: // [ // [1, 2, 3], // [4, 10, 6], // [7, 8, 9] // ]