Indofood Interview Question

HOW YOU HANDLE THE PROBLEM