Lead Software Engineer Interview Questions

3,730 lead software engineer interview questions shared by candidates

1. Given an unsorted array find the mindiff in k elements * A = {1,3,5,7,11, 12, 13}, n=7 k=3 * {1,3,5} diff(5,1) = 4 * {11,12,13} diff(11,13) = 2 op : 2 2. we are given an unsorted array size = n all elements>0 find : total no of elements for which there should be atleast 1 number which is smaller on left and right side
avatar

Technical Lead Backend Developer

Interviewed at Tekion

4.2
May 3, 2021

1. Given an unsorted array find the mindiff in k elements * A = {1,3,5,7,11, 12, 13}, n=7 k=3 * {1,3,5} diff(5,1) = 4 * {11,12,13} diff(11,13) = 2 op : 2 2. we are given an unsorted array size = n all elements>0 find : total no of elements for which there should be atleast 1 number which is smaller on left and right side

1. Write a sudo code for a snake game. With a given board on N*M matrix, a snake can start from point x,y and movie in any direction (right, left, top, bottom). There are some fruits placed at random position. Snakes length's increases if it hits a fruit or decreases if it hits a wall. 2. Design a DS for doing a full text search 3. Flatten a binary tree to a linked list
avatar

Team Lead Software Engineer

Interviewed at Myntra

3.7
Feb 14, 2016

1. Write a sudo code for a snake game. With a given board on N*M matrix, a snake can start from point x,y and movie in any direction (right, left, top, bottom). There are some fruits placed at random position. Snakes length's increases if it hits a fruit or decreases if it hits a wall. 2. Design a DS for doing a full text search 3. Flatten a binary tree to a linked list

Viewing 1761 - 1770 interview questions

Glassdoor has 3,730 interview questions and reports from Lead software engineer interviews. Prepare for your interview. Get hired. Love your job.