DEV Community

k@k
k@k

Posted on

JavaScript Challenge #3

Find LCM of an array
let array = [[1,2],[1,3],[1,6]];
.
.
.
.
[[15,30],[6,30],[10,30]]

Excepted Output : [31,30]

 ***Understand the problem and solve it, comment on your solution***

Discussion (0)