Software Trainee Interview Questions

9,098 software trainee interview questions shared by candidates

1. Sort an array and find the third largest element. 2. Write a code to find the middle node in the linked list. 3. To find out whether a string is a substring of another string or not. If yes, return the starting index. 4. Sort an array with all non zeroes on one side and all zeroes one side. Example: for input: [1,4,5,0,0,2,1,8,9,0,1] output should be [1,4,5,2,1,8,9,1,0,0,0] 5. sum of all digits present in a string
avatar

Software Trainee

Interviewed at Think Future Technologies

4.4
Jan 2, 2023

1. Sort an array and find the third largest element. 2. Write a code to find the middle node in the linked list. 3. To find out whether a string is a substring of another string or not. If yes, return the starting index. 4. Sort an array with all non zeroes on one side and all zeroes one side. Example: for input: [1,4,5,0,0,2,1,8,9,0,1] output should be [1,4,5,2,1,8,9,1,0,0,0] 5. sum of all digits present in a string

Explain the four pillars of OOPs with examples. Difference between JDK, JRE, and JVM. What are Java Collections? Explain List, Set, and Map with examples. Difference between HashMap and HashSet. What is the difference between String, StringBuilder, and StringBuffer?
avatar

Software Engineer Trainee

Interviewed at Eastern Software Solutions

4.5
Sep 10, 2025

Explain the four pillars of OOPs with examples. Difference between JDK, JRE, and JVM. What are Java Collections? Explain List, Set, and Map with examples. Difference between HashMap and HashSet. What is the difference between String, StringBuilder, and StringBuffer?

Viewing 8851 - 8860 interview questions

Glassdoor has 9,098 interview questions and reports from Software trainee interviews. Prepare for your interview. Get hired. Love your job.