Saturday, November 7, 2015

MJ [48] Compute combinations

Question:
Given a 2-D vector of strings [[Hello, Hi], [world, girl, boy]]
print:
Hello world
Hello girl
Hello boy
Hi world
Hi girl
Hi boy

=============== =================
Ref
[1] http://www.mitbbs.com/article_t/JobHunting/32972467.html

No comments:

Post a Comment