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