Bloomberg Interview Question

1. Implement vectors in c++ 2. Difference between vectors in stl and arraylist in java 3. You have a sorted array with duplicates. Return the leftmost index of the given value. 4. What's the use of templates in c++ when you can be using objects for everything? 5. When do you get a stack overflow? Can you give a size to the stack? 6. Showed me a template definition from c++ library. Asked me what the InputIterator type is. 7. What happens beneath an asynchronous process? 8. What is the difference between a class template and a function template in c++?