Google | Phone Screen | Print array of arrays without nested loop
Anonymous User
1537

Print all the elements in an array of arrays without using nested loops.

Eg:
[[1 2],
[3 4 5 6],
[8 9]]

Ouptut: 1 2 3 4 5 6 8 9

Comments (13)