Software Trainee Interview Questions

9,394 software trainee interview questions shared by candidates

Three people were trying to cross the bridge. Person A can cross the bridge in 10 minutes, Person B can cross the bridge in 5 minutes, Person C can cross the bridge in 2 minutes, and Person D can cross the bridge in 1 minute. It was heavily raining and they had only one umbrella. What's the minimum time required for all to cross the bridge without getting drenched?
avatar

Graduate Trainee Software Engineer

Interviewed at Rubykraft

4.6
Mar 20, 2018

Three people were trying to cross the bridge. Person A can cross the bridge in 10 minutes, Person B can cross the bridge in 5 minutes, Person C can cross the bridge in 2 minutes, and Person D can cross the bridge in 1 minute. It was heavily raining and they had only one umbrella. What's the minimum time required for all to cross the bridge without getting drenched?

2nd Round The Conditions are 1:- u can use only 1 variable 2:- u can't use absolute function 3:- u can't initialize I=0; 4:- for{} // allowed for{if(){}} //not allowed 5:- should not use more than one"loop, condition, ternary operator, increment and decrement". 6:- u should not store,reverse, recurse or directly print the answer solution should be generated programmatically The Only Solution form my tries ,satisfying these conditions was:😂😂😂😂
avatar

Software Trainee

Interviewed at Next Novity

3.8
Mar 23, 2018

2nd Round The Conditions are 1:- u can use only 1 variable 2:- u can't use absolute function 3:- u can't initialize I=0; 4:- for{} // allowed for{if(){}} //not allowed 5:- should not use more than one"loop, condition, ternary operator, increment and decrement". 6:- u should not store,reverse, recurse or directly print the answer solution should be generated programmatically The Only Solution form my tries ,satisfying these conditions was:😂😂😂😂

Viewing 1481 - 1490 interview questions

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