Software Interview Questions

551,145 software interview questions shared by candidates

"When two trains approach each other at a crossing, both shall come to a full stop and neither shall start up again until the other has gone. Imagine a Java code with two process/instances of the same program Train.class What's the problem and how do you fix it."
avatar

Software Designer

Interviewed at Globant

3.6
Jun 19, 2014

"When two trains approach each other at a crossing, both shall come to a full stop and neither shall start up again until the other has gone. Imagine a Java code with two process/instances of the same program Train.class What's the problem and how do you fix it."

Please write a function that accepts a floating number and returns its square-root. You may not use built-in square root function from your language. However, basic operators like addition, subtraction, multiplication are allowed. Please take into consideration the floating precision.
avatar

Software Developer

Interviewed at Epic

3.3
Aug 29, 2009

Please write a function that accepts a floating number and returns its square-root. You may not use built-in square root function from your language. However, basic operators like addition, subtraction, multiplication are allowed. Please take into consideration the floating precision.

Providing an algorithm for combinations(n, k), not because of it's complexity, just because it took my the majority of the interview to understand that this was the problem I was solving - it was not made very clear at all.
avatar

Software Engineer

Interviewed at Meta

3.5
Apr 3, 2013

Providing an algorithm for combinations(n, k), not because of it's complexity, just because it took my the majority of the interview to understand that this was the problem I was solving - it was not made very clear at all.

Viewing 2091 - 2100 interview questions

Glassdoor has 551,145 interview questions and reports from Software interviews. Prepare for your interview. Get hired. Love your job.