ShopperTrak interview question

How can we make this process parallel