Software Engineer Trainee Interview Questions

6,731 software engineer trainee interview questions shared by candidates

Problem Statement: Given a string sentence and a target word word, determine how many times you can construct the word using the characters available in the sentence. Each character in the sentence can be used only as many times as it appears. Example: Input: sentence = "hellohellohello" word = "hello" Output: 3 Explanation: In the sentence "hellohellohello", the word "hello" can be constructed 3 times because there are enough occurrences of each character in "hello" to form the word three times. Constraints: The sentence and word will contain only lowercase English letters
avatar

Trainee Software Engineer

Interviewed at Recruit CRM

3.8
Aug 29, 2024

Problem Statement: Given a string sentence and a target word word, determine how many times you can construct the word using the characters available in the sentence. Each character in the sentence can be used only as many times as it appears. Example: Input: sentence = "hellohellohello" word = "hello" Output: 3 Explanation: In the sentence "hellohellohello", the word "hello" can be constructed 3 times because there are enough occurrences of each character in "hello" to form the word three times. Constraints: The sentence and word will contain only lowercase English letters

I cleared aptitude round So I got an opportunity for second round, that was technical round. I joined earlier, they allowed me to attend. They asked Simple questions. -What is Class -what is object -multiple inheritance in java -multi threading -why java -about project -what is prime number -what is composite number -wap to demonstrate prime number -wap for palindrome
avatar

Trainee Associate Software Engineer

Interviewed at Mphasis

3.4
Feb 9, 2022

I cleared aptitude round So I got an opportunity for second round, that was technical round. I joined earlier, they allowed me to attend. They asked Simple questions. -What is Class -what is object -multiple inheritance in java -multi threading -why java -about project -what is prime number -what is composite number -wap to demonstrate prime number -wap for palindrome

Viewing 1021 - 1030 interview questions

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