Software Engineer Trainee Interview Questions

6,021 software engineer trainee interview questions shared by candidates

I was asked 5 coding questions To find Factorial of a number To sort an array without using any sorting techniques One more array with positive and negative numbers and to print the ratio Palindrome program To find the reverse of a string
avatar

Trainee Software Engineer

Interviewed at Robosoft Technologies

3.9
Sep 5, 2021

I was asked 5 coding questions To find Factorial of a number To sort an array without using any sorting techniques One more array with positive and negative numbers and to print the ratio Palindrome program To find the reverse of a string

<3> on given a string "horse" as a function parameter it must return the string "rose" or convert that string to this. he specified that u can use add , remove, replace methods. similarly if we give the string "Take" it must return "Tap". ❓ Problem restated Input: a string (e.g. "horse"). Expected output: another string (e.g. "rose", "Tap"). Constraint: You can use operations like add, remove, replace.
avatar

Software Engineer- I (FTE) / Trainee Engineer (Internship)

Interviewed at HashedIn by Deloitte

4
Sep 15, 2025

<3> on given a string "horse" as a function parameter it must return the string "rose" or convert that string to this. he specified that u can use add , remove, replace methods. similarly if we give the string "Take" it must return "Tap". ❓ Problem restated Input: a string (e.g. "horse"). Expected output: another string (e.g. "rose", "Tap"). Constraint: You can use operations like add, remove, replace.

<4> lets say there are five kids, each kid would have scored some marks lets say [2,5,7,9,4]. now we have to give cookies to every kid. each kid must receive atleast one cookie. the kid with higher and higher marks must recieve more and more cookies compared to the other kids. the function must return the lowest (minimum) possible total number of cookies required to satisfy the condition. ❓ Problem restated Kids’ scores: [2, 5, 7, 9, 4]. Rules: Each kid must get at least 1 cookie. If one kid has higher marks than an adjacent kid, that kid must get more cookies. Goal: Minimize total cookies distributed.
avatar

Software Engineer- I (FTE) / Trainee Engineer (Internship)

Interviewed at HashedIn by Deloitte

4
Sep 15, 2025

<4> lets say there are five kids, each kid would have scored some marks lets say [2,5,7,9,4]. now we have to give cookies to every kid. each kid must receive atleast one cookie. the kid with higher and higher marks must recieve more and more cookies compared to the other kids. the function must return the lowest (minimum) possible total number of cookies required to satisfy the condition. ❓ Problem restated Kids’ scores: [2, 5, 7, 9, 4]. Rules: Each kid must get at least 1 cookie. If one kid has higher marks than an adjacent kid, that kid must get more cookies. Goal: Minimize total cookies distributed.

Viewing 4051 - 4060 interview questions

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