Software Test Engineer Interview Questions

12,422 software test engineer 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 1371 - 1380 interview questions

Glassdoor has 12,422 interview questions and reports from Software test engineer interviews. Prepare for your interview. Get hired. Love your job.