algorithm question, competition programming
Engineer Developer Interview Questions
466,953 engineer developer interview questions shared by candidates
What a fibonacci function which return N th position number both in recursive and loop, also give the explanation on both implementation on their time efficiency.
Online coding interview: Given an array of integers. Find the largest increasing sub sequence of integers in the array. // 10, 3, 7, 9, 0, 15 // return index 1&3
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
If you had 100 floors and 2 eggs, what is the most efficient way to determine what floor is the maximum height you can drop an egg and not crack it?
Write a method which return how many palindromes are in a word. Eg: barbarabar has 7 (b,a,r,barab,a,r)
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
Logical task about bacteria increasing in a retort. 1 bacteria will fill it in a minute, how long it takes to fill a retort if 4 bacteria present at start?
Viewing 391 - 400 interview questions