Lead Software Engineer Interview Questions

3,730 lead software engineer interview questions shared by candidates

Round 1 - 1. Print even and odd numbers on two different threads. Even numbers should be printed on Thread 1 and odd numbers should be printed on thread 2. 2. Given a linked list of integer numbers. The linked List is sorted by absolute value. Sort the linked list by the actual value. // Example -> // Given : 1 -> -2 → 3 → -4 → 5 → -6 // Expected: -6 → -4 → -2 → 1 → 3 → 5 Round 2 - Given an array arr[] of n integers, construct a Product Array prod[] (of the same size) such that prod[i] is equal to the product of all the elements of arr[] except arr[i] Inputs: City name Search criteria (checkin, checkout, number of adults, rooms) -> Search service -> Hotels Ranking service (microservice) Ranking modulation for different users user footprint same place -> higher budget on iphone small city -> lower price IP Round 3 - Design a workflow service in which we need to run tasks in parallel and some in sequential. e.g. workflow1: T1 , T2 // parallel T3 // run only if T1, T2 is successful T4 T5 T6 T7 W2: T1 T2 T3 T4 T5
avatar

Lead Software Engineer

Interviewed at MakeMyTrip

4.1
Apr 21, 2023

Round 1 - 1. Print even and odd numbers on two different threads. Even numbers should be printed on Thread 1 and odd numbers should be printed on thread 2. 2. Given a linked list of integer numbers. The linked List is sorted by absolute value. Sort the linked list by the actual value. // Example -> // Given : 1 -> -2 → 3 → -4 → 5 → -6 // Expected: -6 → -4 → -2 → 1 → 3 → 5 Round 2 - Given an array arr[] of n integers, construct a Product Array prod[] (of the same size) such that prod[i] is equal to the product of all the elements of arr[] except arr[i] Inputs: City name Search criteria (checkin, checkout, number of adults, rooms) -> Search service -> Hotels Ranking service (microservice) Ranking modulation for different users user footprint same place -> higher budget on iphone small city -> lower price IP Round 3 - Design a workflow service in which we need to run tasks in parallel and some in sequential. e.g. workflow1: T1 , T2 // parallel T3 // run only if T1, T2 is successful T4 T5 T6 T7 W2: T1 T2 T3 T4 T5

There is nothing to be mentioned here... I was invited for 'X' skills interview and the interviewer started asking me something else.... finally it was made clear that I have come for X position with X skills, the interviewer was down... anyways for the namesake he asked me some DS related questions like Binary Search Tree and Mirror Binary Tree
avatar

Lead Software Engineer

Interviewed at Philips

3.8
Dec 7, 2012

There is nothing to be mentioned here... I was invited for 'X' skills interview and the interviewer started asking me something else.... finally it was made clear that I have come for X position with X skills, the interviewer was down... anyways for the namesake he asked me some DS related questions like Binary Search Tree and Mirror Binary Tree

Viewing 2381 - 2390 interview questions

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