educative.io

Very confusing description

Hello,
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.

Course: https://www.educative.io/collection/5642554087309312/5679846214598656
Lesson: https://www.educative.io/collection/page/5642554087309312/5679846214598656/240001

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”.