How would you implement the try/finally construct in C++?
Software Engineers Interview Questions
419,718 software engineers interview questions shared by candidates
Design a class where you can add elements, and return the mean of the latest N elements.
If you didn't have to worry about time efficiency at all, but need a space efficiency of O(1), how do you check if an array has duplicate numbers?
inverting the binary tree, circular linked list
How do you make a function that takes f and returns a function that calls f on a timeout?
If you had a savings account with $1, at a 100% interest rate, at what year would you have 15 billion dollars?
There are n integers in disk. Memory has m space. how to sort the data efficiently.
given K files and N machines, N is much larger than K. given function long sum(int fileID,int machineID) which use particular machine calculate the sum of file. Question:write function which calculate the sum of all files
Logic Puzzle : How would you measure exactly 9mins using a 4 minutes and a 7 minutes hourglass
Find the majority element of an array.
Viewing 2381 - 2390 interview questions