If you have a table with prices increasing and adoption rates decreasing and need to find which price gives maximum profit, is it fine to calculate the profits at either ends (max price and minimum price) to say which one would yield highest profits or do you need to calculate profit at each price? Can you ask the interviewer if you can do the edge cases or if they would like you to calculate it for each? Will they tell you if it's unnecessary to calculate the profit for each price?
(edited)