2
Reply

Write a Javascript function that transposes (m,n) matrix.

AMENI Miskini

AMENI Miskini

Jul 28 2016 9:53 AM
275

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) 

    Upload Source Code  Select only zip and rar file.
    Answers (2)