Senior Member Technical Staff Interview Questions

623 senior member technical staff interview questions shared by candidates

1. Given an array that contains distinct integers, find the sum of minimum elements of all subsequences. E.g.- Array is [3, 1, 2] Subsequences will be: [3], [3, 1], [3, 2], [3,1,2], [1], [1, 2] and [2] Minimum elements: 3, 1, 2, 1, 1, 1, 2 Answer: 11 2. Check if a Pythagorean triplet is present in an array with distinct integers. E.g. - array: [3, 10, 8, 6, 7] Pythagorean triplet exists: 6,8,10 3. Given a 2D array containing only 0 and 1. Each row is sorted. Find the maximum number of 0 in a row. E.g.- [[0, 0, 0, 1, 1, 1, 1] [0, 1, 1, 1, 1, 1, 1] [0, 0, 0, 0, 0, 0, 1] [0, 0, 1, 1, 1, 1, 1]] Answer: 6
avatar

Senior Member of Technical Staff

Interviewed at Nutanix

3.8
Jun 7, 2021

1. Given an array that contains distinct integers, find the sum of minimum elements of all subsequences. E.g.- Array is [3, 1, 2] Subsequences will be: [3], [3, 1], [3, 2], [3,1,2], [1], [1, 2] and [2] Minimum elements: 3, 1, 2, 1, 1, 1, 2 Answer: 11 2. Check if a Pythagorean triplet is present in an array with distinct integers. E.g. - array: [3, 10, 8, 6, 7] Pythagorean triplet exists: 6,8,10 3. Given a 2D array containing only 0 and 1. Each row is sorted. Find the maximum number of 0 in a row. E.g.- [[0, 0, 0, 1, 1, 1, 1] [0, 1, 1, 1, 1, 1, 1] [0, 0, 0, 0, 0, 0, 1] [0, 0, 1, 1, 1, 1, 1]] Answer: 6

Viewing 261 - 270 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 623 interview questions and reports from Senior member technical staff interviews. Prepare for your interview. Get hired. Love your job.