"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."
Software Interview Questions
551,145 software interview questions shared by candidates
How can doctors encourage patients to take action on routine maintenance (e.g. cancer screening exams, vaccines), particularly when lacking any other reason to make contact?
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.
What way can you tell if an integer is odd or even?
What is the purpose of a database index? What is the tradeoff?
There were some mathematical puzzles.
What is the difference between a reference and a pointer?
Given list of revision numbers and build statuses (OK or FAILED). Example : { (10001,OK ) , (10002, OK) , (10003, FAILED) , (10004,FAILED) } Find number of revision where build has failed in first time.
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.
Given a really big file with a lots of Facebook posts, find the ten most used words.
Viewing 2091 - 2100 interview questions