AMENI Miskini

AMENI Miskini

  • NA
  • 8
  • 2.6k

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

Jul 28 2016 9:53 AM

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) 

    Answers (2)