Lead Engineer Interview Questions

19,967 lead engineer interview questions shared by candidates

Given an array of integers arr and an integer target. You have to find two non-overlapping sub-arrays of arr each with sum equal target. There can be multiple answers so you have to find an answer where the sum of the lengths of the two sub-arrays is minimum.
avatar

Lead Engineer

Interviewed at Media.net

3.6
Feb 8, 2021

Given an array of integers arr and an integer target. You have to find two non-overlapping sub-arrays of arr each with sum equal target. There can be multiple answers so you have to find an answer where the sum of the lengths of the two sub-arrays is minimum.

Viewing 5981 - 5990 interview questions

Glassdoor has 19,967 interview questions and reports from Lead engineer interviews. Prepare for your interview. Get hired. Love your job.