I\'m trying to solve the following question :
We are given an array containing ‘n’ objects. Each object, when created, was assigned a unique number from