Very confusing description

The description of the problem is very confusing. Please re-write it. Perhaps explain color coding in the two arrays in the description and explain why the values were chosen.
Thank you.

Type your question above this line.


Hi, thank you for your valuable suggestion. We will consider your feedback and keep on improving our quality. Please keep visiting the website for more interesting courses.

There is just a small inconsistency between the “Statement” and the “Example”. In the “Statement”, it is said “Return the buying and selling prices for making the maximum profit.” but in the “Example”, the indices are written (instead of the prices/values) as the “Expected output”.