My answer was:
Bubble Sort
Heap Sort
Insertion Sort
Merge Sort
Quick Sort
Selection Sort
Bucket Sort
Follow up question was to ...
Interviewed for position: SDET (Contractor)
Search results for heap
Design an alogrithms and data structure to retrieve median of vector (array) in constant time.
Posted by aleksin
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
Interviewed for position: SDE
The question means when a program is run the object, variables and class has to be loaded either on stack or heap.
« previous1 next »
