Since this was a testing interview and not full out development he had some testing terms I had never heard of these include: Equivalence Class Testing Pair Wise Combinatorial Testing Failure Mode Analysis the only one I heard of was: White Box vs Black Box testing The coding portion was not difficult the question was this Write a function that takes two lists of strings and return a list of Strings with all of the intersections of the strings ex: List1 = {"a","a","a", "b", "d"} List2 = {"a", "a", "c", "d"} expectedReturn={"a","a","d"} Also he asked what tests cases I would use to validate the function also he wanted to know the run time analysis of the function
Software Engineer Interview Questions
419,648 software engineer interview questions shared by candidates
i) Given a value v, in a BST find the next value in order.
Given a (potentially large) array of integers, all but one repeating an even number of times, how would you find the one repeating an odd number of times in an efficient way? eg [1 2 3 3 2 2 1 4 2] should return 4
Find k largest/smallest number in a series of numbers. What data-structures will you use? Code it on white board.
Write a method which return how many palindromes are in a word. Eg: barbarabar has 7 (b,a,r,barab,a,r)
* Merge two sorted linked list. The merged list should also be sorted. * Compact a string. i.e remove spaces * traverse a link list containing char* as data. test cases for the same. * reverse a string. test cases for the same. * remove all the given characters from a string.
The infamous "clock hands" question--how many times do the hour and minute hands of a clock overlap in a 24 hour period?
Implement integer division without using / or %. Questions about running time. Can you do it faster?
Build a key-value data structure that allows the user to take a snapshot of the data. The user can read the key-value store from any snapshot. Structure has the normal key/value like methods plus something like snapshot = dataStructure.takeSnapshot() value = dataStructure.get(key, snapshot) void dataStructure.deleteSnapshot()
Soft Skill question: How did you manage to solve a specific problem in the past? With what means? Questions that you have to answer on e.g video format before the interview: 1) Why have you applied for this position? 2) What will you bring to this particular role? 3) What do you expect from this position? Then a set of technical questions sent to you by email (answer before the interview) 1.Explain when and why you would use multi-threading programming? 2. When you would use templates over inheritance? (C++) Please explain. 3. In your opinion What is the most important change in C++ in the last 10 years, explain why. 4. A process is having performance issues but you do not know where exactly the problem is. Which tools would you use to diagnose the problems and how? Please start with basic system tools expected on any system first and with the possibility to add more advanced tools second. 5. Give a code example of a ranged for statement in C++. 6. What is the difference between Abstract and Interface classes (C++)? 7. How you would implement the error handing for a function controlling a piece of hardware? You can write the pseudo code if needed. (C++) 8. What is difference between C++ shared_ptr and unique_ptr. When would you use each of them. 9. What is C++ uniform initialization, please give a couple of code examples. 10. What is a python decorator and when you would use it. 11. Explain what is a python lambda function and give a code example. 12. What would be your criteria to decide when to implement a tool in C++ or Python
Viewing 421 - 430 interview questions