Lead Software Engineer In Test Interview Questions

3,883 lead software engineer in test interview questions shared by candidates

Your task is to implement a findMatches function that takes a query value and a pre-sorted array of integers that may contain duplicates. It should find and return  The index of the first instance of the query value in the array, or -1 if the query value does not exist in the array.  The number of times the query value appears in the array (0 if the query value does not exist in the array).
avatar

Software Engineer In Test

Interviewed at Laserfiche

2.9
Mar 7, 2017

Your task is to implement a findMatches function that takes a query value and a pre-sorted array of integers that may contain duplicates. It should find and return  The index of the first instance of the query value in the array, or -1 if the query value does not exist in the array.  The number of times the query value appears in the array (0 if the query value does not exist in the array).

Viewing 631 - 640 interview questions

Glassdoor has 3,883 interview questions and reports from Lead software engineer in test interviews. Prepare for your interview. Get hired. Love your job.