SAP interview question

1. max water problem 2. max profit problem