drive.ai interview question

Write code to identify unique objects in a 2D array given some parameters