10.09.2013 Views

1. Advanced Data Structure using C++

1. Advanced Data Structure using C++

1. Advanced Data Structure using C++

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

LECTURE NOTES OF ADVANCED DATA STRUCTURE (MT-CSE 110)<br />

a00<br />

a10<br />

a20<br />

a01<br />

a11<br />

a21<br />

a02<br />

a12<br />

a22<br />

(a) Column major order<br />

a00<br />

a01<br />

a02<br />

a10<br />

a11<br />

a12<br />

a20<br />

a21<br />

a22<br />

(b) Row major order<br />

Let us consider a two‐dimensional array a of size m×n.further consider that<br />

the lower bound for the row index is lbr and for column index is lbc.<br />

Prepared By :­<br />

Er. Harvinder Singh<br />

Assist Prof., CSE, H.C.T.M (Kaithal) Page ‐ 39 ‐

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!