Addressing In Multi-dimensional Array (3D Array) | Row Major Order | Data Structures | DSA Playlist
Quick Learner With Sam & Mush
0:00 / 0:00
Addressing In Multi-dimensional Array (3D Array) | Row Major Order | Data Structures | DSA Playlist
109 просмотров · 12 дн. назад
Quick Learner With Sam & Mush
98 подписчиков
109 просмотров · 12 дн. назад
Address Calculation in 3D Arrays Made Super Simple! 🧮 | Row-Major & Column-Major Order Explained
Welcome back to Quick learners with sam and mush! 👋
Ready to step into higher dimensions? We've mastered 1D lists and 2D tables, but what happens when you need to store data in a 3D cube—like stacked pages in a book, volumetric medical scans, or RGB video frames? That is where 3D Arrays come in!
In this quick, exam-focused video, we break down how 3D arrays are mapped into linear RAM, derive the exact address calculation formulas for Row-Major and Column-Major orders, and solve a university exam numerical step-by-step!
💡 What You Will Learn in This Video :
1. What is a 3D Array? An array of 2D matrices (often visualized as Pages \times Rows \times Columns or A[i][j][k]).
2. Dimensions & Bounds :
• L = Total number of planes / pages / blocks (Index i)
• M = Total number of rows per page (Index j)
• N = Total number of columns per row (Index k)
3. The 3D Row-Major Address Formula (Exam Essential!) :
4. The 3D Column-Major Address Formula (Exam Essential!) :
Learn Smart...Learn Fast
Do Subscribe to Our Channel and Share With Other
#3darray #multidimensionalarray #arrays #rowmajororder #AddressCalculation #datascience #datastructures #datastructureandalgorithm #dsa #programminginc #computerscience #cse #btech #mtech #vtuexams #QuickLearnersWithSamAndMush #LearnSmartLearnFast #SoftwareEngineering #gatesmashers #abdulbari