Lead Software Engineer Interview Questions

2,153 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

Round I Online Coding 1. Valid curly braces in the given program 2. Return Frequency list on the input of list of strings 3. Validate password with error code Round II Tech I 1. Write a lambda functionto print number 1-5 2. Why arraylist? 3. Explain abour pipeline process. 4. What are the testing libraries youhave used? 5. Process of code review in your application? 6. How Routing works in React? 7. How Indexing works in Table? 8. Do you know about EC2 confugurations? 9. Biggest Escalations you have faced? Round III Tech II 1. Scopes of a bean. 2. What is ideal scope of a bean we can use for a ecoomerce site 3. What is the ideal storage place for storing wishlist 4. How can we design architecture for redis cache if we have 4 app servers 5. We have a file of milion lines, in each lineonly one character was there, get the frequency count 6. Same above scenario, write a query for that 7. SOLID principles 8. Lisco Substitution principle example 9. Builder design pattern 10. Payment transaction management in your application
avatar

Lead Software Engineer

Interviewed at Fidelity Investments

4.1
Feb 18, 2022

Round I Online Coding 1. Valid curly braces in the given program 2. Return Frequency list on the input of list of strings 3. Validate password with error code Round II Tech I 1. Write a lambda functionto print number 1-5 2. Why arraylist? 3. Explain abour pipeline process. 4. What are the testing libraries youhave used? 5. Process of code review in your application? 6. How Routing works in React? 7. How Indexing works in Table? 8. Do you know about EC2 confugurations? 9. Biggest Escalations you have faced? Round III Tech II 1. Scopes of a bean. 2. What is ideal scope of a bean we can use for a ecoomerce site 3. What is the ideal storage place for storing wishlist 4. How can we design architecture for redis cache if we have 4 app servers 5. We have a file of milion lines, in each lineonly one character was there, get the frequency count 6. Same above scenario, write a query for that 7. SOLID principles 8. Lisco Substitution principle example 9. Builder design pattern 10. Payment transaction management in your application

Viewing 1341 - 1350 interview questions

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