Lead Software Engineer Interview Questions

3,730 lead software engineer interview questions shared by candidates

2. N number of student and M number of subject Teacher Mr. Johnson want to check and skip the subject mark which has minimum average marks. Print the result of each student with skipping the mark of minimum avg marks let take example N = 4 student M = 5 subject student1 = {5, 8, 2, 4, 8} student2 = {3, 6, 3, 7, 2} student3 = {4, 8, 1, 7, 4} student4 = {8, 8, 4, 4, 6} here in this case subject number 3 has minimum avg marks (M1 avg = 5, M2 avg = 7.5, M3 = 2.5, M4 =5.5, M5 = 5 ) so need to skip from result and print the result skipping the minimum marks subject.
avatar

.NET Lead/Developer

Interviewed at Nagarro

3.9
Sep 7, 2021

2. N number of student and M number of subject Teacher Mr. Johnson want to check and skip the subject mark which has minimum average marks. Print the result of each student with skipping the mark of minimum avg marks let take example N = 4 student M = 5 subject student1 = {5, 8, 2, 4, 8} student2 = {3, 6, 3, 7, 2} student3 = {4, 8, 1, 7, 4} student4 = {8, 8, 4, 4, 6} here in this case subject number 3 has minimum avg marks (M1 avg = 5, M2 avg = 7.5, M3 = 2.5, M4 =5.5, M5 = 5 ) so need to skip from result and print the result skipping the minimum marks subject.

There is only one character 'A' on the screen of a notepad. You can perform one of two operations on this notepad for each step: Copy All: You can copy all the characters present on the screen (a partial copy is not allowed). Paste: You can paste the characters which are copied last time. Given an integer n, return the minimum number of operations to get the character 'A' exactly n times on the screen.
avatar

Lead Software Engineer

Interviewed at Velotio

4
Apr 28, 2023

There is only one character 'A' on the screen of a notepad. You can perform one of two operations on this notepad for each step: Copy All: You can copy all the characters present on the screen (a partial copy is not allowed). Paste: You can paste the characters which are copied last time. Given an integer n, return the minimum number of operations to get the character 'A' exactly n times on the screen.

Viewing 1471 - 1480 interview questions

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