Software Technical Lead Interview Questions

16,410 software technical lead interview questions shared by candidates

You're given the array of digits. Slice is a range in this array that has no more than 2 different elements. i.e. [1, 1] is slice, [1, 2, 1, 2] is also slice, but [1, 2, 3] and [1, 1, 2, 3] are not slices. You need to find maximum size of slice in the array.
avatar

Team Lead

Interviewed at Gett

4.1
Jan 2, 2017

You're given the array of digits. Slice is a range in this array that has no more than 2 different elements. i.e. [1, 1] is slice, [1, 2, 1, 2] is also slice, but [1, 2, 3] and [1, 1, 2, 3] are not slices. You need to find maximum size of slice in the array.

Viewing 1501 - 1510 interview questions

Glassdoor has 16,410 interview questions and reports from Software technical lead interviews. Prepare for your interview. Get hired. Love your job.