Samsung ppo test
Anonymous User
1067

n ingredients are given, an ingredient is represented by tuple like {x,y,z}
Given an dish d represented by {d1,d2,d3}
we have to return true if dish d is prepared from set of ingredients such that
sum of Xi=d1
sum of Yi=d2
sum of Zi=d3

and we cannot use a single ingredient more than once

Comments (2)