Java Programming Language Question


Consider an array [0..7, 0..7]. Give formulas for rank( i1, i2 ) in (i) row-major order, and (ii) column- major order. No need to simplify the formulas.