Determine Optimal Budget Allocation for Maximum Profit | Capital One Interview Question