Calculate Positive Profit Combinations
Given two lists profit and cost, representing the profit and cost of projects respectively. Count and return the number of combinations where profit minus cost is positive.
Input:
profit:...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
