Software Design Engineers in Test - A[M][N] is an array rotated in anti clock wise
Software Design Engineers in Test SDET FAQ
(Continued from previous question...)
11. Software Design Engineers in Test - A[M][N] is an array rotated in anti clock wise
Question:
A[M][N] is an array rotated in anti clock wise that is A'[N][M]. then mapping A[i][j]=A'[ _ ][ _ ] in terms of M,N,i,j.
note i,j are 0 indieses
A A'
1 2 3 3 6
4 5 6 2 5
1 4
A: A[i][j]=A'[j*(n-m)] [i*(n-m)]
(Continued on next question...)
Other Interview Questions
|