Create a function called findindex


Problem

Create a function called findIndex, which takes one Rectangle object r, an array of Rectangle objects a, and the length of the array. If r is in a, then return the corresponding index. Otherwise, return -1. Analyze the time complexity of the findIndex function in terms of the length of the array.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Create a function called findindex
Reference No:- TGS03233485

Expected delivery within 24 Hours