Software Engineer Trainee Interview Questions

6,022 software engineer trainee interview questions shared by candidates

Q1. Arrange the given array in required format. Required format = [First largest, First smallest, second largest, second smallest, third largest, third smallest, and so on..] in= [9, 2, 1, 7, 3, 4, 8, 28] op= [26, 1, 9, 2, 8, 3, 7, 4 ] Q2. Given an Array, considering first element as no of column, make a 2D array from the given elements from array except first element as that is representing no of columns and queries are given in form of list that [[i,j],[i,j],[i,j]] find that i,j element in formed 2D array. in = [4, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12] q = [[1,2],[3,3],[2,4],[3,1]] output = [1, 11, 8, 9] Q3. print the below pattern:- Solution should be general based on n. in :- n = 4 op :- 4 4 4 4 4 4 4 3 3 3 3 3 2 2 2 1 2 2 2 2 3 3 3 3 3 3 4 4 4 4 4 4 4 4 Q4. Pattern Printing input =[Apple, mohan, hp, LG, IBM, Amit] op = e n l a t p h I i p o p G B m A m h L I A Q5. Rotation of a 2D array by 270 degree.
avatar

Software Engineer Trainee

Interviewed at MountBlue Technologies

3.8
Apr 26, 2021

Q1. Arrange the given array in required format. Required format = [First largest, First smallest, second largest, second smallest, third largest, third smallest, and so on..] in= [9, 2, 1, 7, 3, 4, 8, 28] op= [26, 1, 9, 2, 8, 3, 7, 4 ] Q2. Given an Array, considering first element as no of column, make a 2D array from the given elements from array except first element as that is representing no of columns and queries are given in form of list that [[i,j],[i,j],[i,j]] find that i,j element in formed 2D array. in = [4, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12] q = [[1,2],[3,3],[2,4],[3,1]] output = [1, 11, 8, 9] Q3. print the below pattern:- Solution should be general based on n. in :- n = 4 op :- 4 4 4 4 4 4 4 3 3 3 3 3 2 2 2 1 2 2 2 2 3 3 3 3 3 3 4 4 4 4 4 4 4 4 Q4. Pattern Printing input =[Apple, mohan, hp, LG, IBM, Amit] op = e n l a t p h I i p o p G B m A m h L I A Q5. Rotation of a 2D array by 270 degree.

Given five positive integers, find the minimum and maximum values that can be calculated by summing exactly four of the five integers. Then print the respective minimum and maximum values as a single line of two space-separated long integers.
avatar

Software Engineer Trainee

Interviewed at MountBlue Technologies

3.8
Apr 23, 2022

Given five positive integers, find the minimum and maximum values that can be calculated by summing exactly four of the five integers. Then print the respective minimum and maximum values as a single line of two space-separated long integers.

Viewing 2411 - 2420 interview questions

Glassdoor has 6,022 interview questions and reports from Software engineer trainee interviews. Prepare for your interview. Get hired. Love your job.