Engineer Interview Questions in Herndon, VA | Glassdoor
Engineer Interview Questions in Herndon, VA

Engineer Interview Questions in Herndon, VA

Engineers are responsible for designing and building products. In an interview context, expect to be quizzed on your technical skills, and also evaluated for your ability to work as a part of a team to get things built. The specific questions you are asked will depend on what type of engineering position you are looking for. Try a specific engineering discipline, such as software engineer, electrical engineer, or mechanical engineer.

Top Interview Questions

Sort: RelevancePopular Date

How would you find a duplicate number in a very large unsorted array of ints.

4 Answers

findDuplicates(int array[]) { int duplicates[] , index; for (int i=0; ii; j--) { if (array[i] == array[j]) { duplicates[index++] = array[i]; break; } } print duplicates;

O(n^2) is the usual naive answer but there are properties that if true can reduce this to O(n) using bit ops: In general, if the given array range can also be generated where the duplicated number you are trying to find gets no special treatment and is included just like all the rest a single time, then you can get the answer this way: set total to 0 foreach (n in given array) xor all n into total foreach (n in generated range) xor all n into total total is your answer This works because all the non-duplicated single entries will cancel out via xor with their single entry from the generated set (since they are all paired) and the duplicated number will have an extra odd entry (since it will have 2 entries already from the given array + 1 from the generated set = 3 entries). And because of course xor is commutative; the order of the xor'ing doesn't matter: 6^6^5^5^4^4 = 0, as does 6^5^4^5^4^6 It is a variation of these problems: - find a missing number in an unsorted array - find an unduplicated number in an unsorted array of duplicates

I should have added t the above: Ask the interviewer if the array of N has any special distribution. In particular, for the duplicate question here, ask if the array of N contains [0, N-2] or [1, N-1] values unsorted, in addition to one extra entry duplicated in that set duplicated.

Division method without using divide operator

5 Answers

I have 9 coins, out of which 8 coins are identical in weight and one is lighter in weight. Is it possible to find the light weight coin with only two weighings, using pan balance?

2 Answers

can you host multiple https sites with different domain names but same IP on the same server? how

3 Answers

What is the range of numbers that can be stored using a single byte?

2 Answers

Very basic questions like would you relocate, are you authorized to work in the US.

1 Answer

Unexpected -have you ever written a device driver?

1 Answer

Unexpected question - Guess the number I am thinking of which is between 1 and 100 by asking minimal Yes or No questions.

2 Answers

Tell us about a time you had to migrate a system from on-premise to the cloud? What challenges did you face?

1 Answer

There were no difficult questions. The interview questions asked were to gauge my level of experience with writing test cases, following processes, writing and executing SQL statements, and leading a team.

1 Answer
110 of 207 Interview Questions