Simple Database questions. Join queries etc.
Software Engineer I Interview Questions
1,705 software engineer i interview questions shared by candidates
Scenario: you have two identical eggs which may or may not break when thrown from a window, depending on which floor they are thrown from. How would you determine the highest floor from which an egg can be thrown without it breaking? You may break both eggs in order to determine the answer. If an egg is not broken it can be reused. Start off with the basics and then tell us how you could refine the process and make it more efficient as you go.
How would you traverse a binary tree without recursion?
Brain teaser: most buckets filled with infinite number of balls that weigh 1 gram, but one bucket has balls that weigh 2 grams. How do you find the bucket that has the 2 gram balls with only one weigh in? Follow up after you solve it, is what if there are two buckets with 2 gram balls?
Asked what is a semaphore?
The design rounds can seem tricky but they verify if you are thinking along the correct lines
Given a list, how would you find duplicates.
The "most difficult" question I had was finding the intersection of two arrays. Seriously. The rest were even easier. I'm not kidding.
Most of the questions weren't all that difficult and there was very little pressure in solving them. The point was really to see the process of arriving at your answer. The most difficult question was to explain the cardinality of depth first and breadth first search and explain how the algorithms could be written. I actually missed that one as I haven't looked at a text book in years. The question I remembered most was the one about having 2 eggs and dropping them off a 100 story building to determine at what floor they begin to break. What is the least amount of attempts required to determine this answer?
The second question was about graph. There are multiple server on the cloud that need to be updated. You have to find the minimum time needed
Viewing 211 - 220 interview questions