MISSING VALUE Interview Questions

6,577,548 interview questions shared by candidates

1 million card applications. $1 per application cost to do employment verification. 96% pass verification and get a card. 4% fail and do not get cards. Given average profits on cardholders in good standing, and average losses on accounts that default, find the % of denied cardholders that would have to default in order to justify the $1 per application verification cost .
avatar

IT Development Program

Interviewed at Capital One

Apr 3, 2012

1 million card applications. $1 per application cost to do employment verification. 96% pass verification and get a card. 4% fail and do not get cards. Given average profits on cardholders in good standing, and average losses on accounts that default, find the % of denied cardholders that would have to default in order to justify the $1 per application verification cost .

Given two sorted input arrays which contain a two element array of [key, value], write a function which multiplies the two arrays together and sums them where the "key" matches. Example: "v1 = [[1, 3], [2, 4], [99, 3]]; v2 = [[2,3],[5,9],[99,1]]" results in "15". I first brute forced it with O(n*m) then used two pointers which resulted in O(n+m) then he asked me to write it in O(n log m). I could not think of an algorithm at the time for O(n log m).
avatar

Software Engineer

Interviewed at Meta

3.5
Dec 10, 2015

Given two sorted input arrays which contain a two element array of [key, value], write a function which multiplies the two arrays together and sums them where the "key" matches. Example: "v1 = [[1, 3], [2, 4], [99, 3]]; v2 = [[2,3],[5,9],[99,1]]" results in "15". I first brute forced it with O(n*m) then used two pointers which resulted in O(n+m) then he asked me to write it in O(n log m). I could not think of an algorithm at the time for O(n log m).

Viewing 1601 - 1610 interview questions

Glassdoor has 6,577,548 interview questions. Prepare for your interview. Get hired. Love your job.