Write a Javascript function that transposes (m,n) matrix.
- Example : var matrix = [ [1, 2, 3], [4, 5, 6], [7, 8, 9] ];
- Function must only call basic methods (push, length) and handle square and non-square matrices. (without Jquery)
Write a Javascript function that transposes (m,n) matrix.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question.
AMENI MiskiniPosted Jul 28, 2016, 11:32 AM
Design an html area so the user can enter input data and see the result.
Midhun TpPosted Jul 28, 2016, 10:58 AM