HSBC Holdings Interview Question: How would you design a progra... |

Interview Question

Computer Programmer Interview London, England

How would you design a program to calculate 4*4 Matrix?


Interview Answer

2 Answers


Store the matrix in a two dimentional array and use a loop to keep count of iterations through the array. But what calculations do you want performed? Column or Row? Sum? Average? Do you want it in C++, VB or Java?

Anonymous on 30 Jun 2010

One or more comments have been removed.
Please see our Community Guidelines or Terms of Service for more information.

Add Answers or Comments

To comment on this, Sign In or Sign Up.