Traversing 2D Arrays, Row-major Vs Column-Major - Computer Science

2 months ago
54

This computer science video covers a tutorial on how to traverse 2D arrays using nested for loops. 2D arrays can be created and indexed in a similar way to 1D arrays. Effectively, they can be visualised as arrays of arrays. The tutorial also demonstrates how 2D arrays can be traversed in row-major and column-major order. An example of a 2D matrix array is demonstrated in Java using the Eclipse IDE.

Loading comments...