Pergunta de entrevista da empresa Wayfair

Cartesian product of a vector of vectors without using recursion. Checking to see if a string is a substring.