Senior Software Engineer Php Interview Questions

95,567 senior software engineer php interview questions shared by candidates

Given an integer array containing positive and negative numbers, how do you get the maximum sum of its sub-arrays? Continuous numbers form a sub-array of an array. For example, if the input array is {1, -2, 3, 10, -4, 7, 2, -5}, the sub-array with the maximum sum is {3, 10, -4, 7, 2} whose sum 18.
avatar

Senior Software Engineer

Interviewed at Intel Corporation

3.9
Jan 1, 2014

Given an integer array containing positive and negative numbers, how do you get the maximum sum of its sub-arrays? Continuous numbers form a sub-array of an array. For example, if the input array is {1, -2, 3, 10, -4, 7, 2, -5}, the sub-array with the maximum sum is {3, 10, -4, 7, 2} whose sum 18.

Viewing 251 - 260 interview questions

Glassdoor has 95,567 interview questions and reports from Senior software engineer php interviews. Prepare for your interview. Get hired. Love your job.