Lead Developer Interview Questions

3,938 lead developer interview questions shared by candidates

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

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.3
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

Viewing 1831 - 1840 interview questions

Glassdoor has 3,938 interview questions and reports from Lead developer interviews. Prepare for your interview. Get hired. Love your job.