Lesson 17 of 34
2D Arrays: Matrix2D Arrays: Matrices
10 min 30 XP
2D array என்பது rows மற்றும் columns உள்ள அட்டவணை. m[row][col] என்று அணுகலாம். m.length rows எண்ணிக்கை, m[0].length columns எண்ணிக்கை.
A 2D array is a table with rows and columns, accessed as m[row][col]. m.length is the number of rows and m[0].length the number of columns.
Example: edit me and press Run
Press Run to see the result here.Transpose: m[r][c]-ஐ t[c][r]-ல் வைக்கவும். Matrix கேள்விகளில் இது அடிக்கடி கேட்கப்படும்.
Transpose: put m[r][c] into t[c][r]. A popular matrix interview question.