Latest Job Interview Questions » Programming Interview Questions

Answer The idea is to choose sorting algorithm, as usually QuickSort and then think about swaping strategy. Consider following situation: 1. The no ...
AddRef increments reference count of the object, Release decrements reference counter of the object and QueryInterface obtains a pointer to the reques ...
Answer: The simplest way is to add prototype to string object and use regular expression inside prototype function as following: String.prototype.g ...
Answer Try noting down the address of a local variable. Call another function with a local variable declared in it and check the address of that loca ...
The question means when a program is run the object, variables and class has to be loaded either on stack or heap.
Full question: You have a vector of signed integers and you need to support an API with two exposed methods, insert(int) and getmedian(). Describe a ...
Interviewed for position: SDE