An array of objects is given. Find the entered value in the array and output the sequence number of the array element with the key in which it is written. The key / value pair is not unique. Display information on all found, or a message about the lack of such.
If possible, advise how to solve this problem, and what you need to pay attention to. I would be extremely grateful.