Lesson 17 of 34
2D Arrays: Matrices
10 min 30 XP
2D array হলো rows এবং columns-এর তালিকা, m[row][col] দিয়ে ব্যবহার হয়। m.length হলো rows-এর সংখ্যা এবং m[0].length columns-এর সংখ্যা।
Example: edit me and press Run
Output Loading Java (first time takes a few seconds)
Press Run to see the result here.Transpose: m[r][c]-কে t[c][r]-এ রাখুন। Matrix-এর একটি জনপ্রিয় interview প্রশ্ন।