Software Engineer Interview Questions | Glassdoor.co.uk

Glassdoor uses cookies to improve your site experience. By continuing, you agree to our use of cookies. OK | Learn More

Software Engineer Interview Questions

1,543

Software engineer interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

What is 'deadlock'?

3 Answers

What is the main difference that OO programming brought?

3 Answers

Asked question: Using an already implemented method Rand5() that generates a random integer between the ranges 1-5 uniformly. Using this method, implement a a new method that returns a random integer in the range 1-7 uniformly, i.e. Rand7(). Basically this is Rejection Sampling Algorithm. See http://leetcode.com/2010/11/rejection-sampling.html

2 Answers

I completely froze on following question which could be useful in a function that reverses order of words. How would you move a chunk of memory in C++/C?

2 Answers

What is the kernel call to get the inode information of a file?

2 Answers

How will you prevent the code in finally block from executing? The question isn't a very fair one as a good programmer would not write the code in finally block that he/she doesn't want to execute

2 Answers

What features of C++ provide polymorphism?

2 Answers

How do you print all elements of a linked list.

6 Answers

During the second interview, I was asked to implement LCA in a binary tree (not BST) on collabedit.com. I was close, but not close enough...

3 Answers

Are you married? Do you have any kids? Where do you live?

2 Answers
1120 of 1,543 Interview Questions