Was asked to implement a vector . He asked how memory is dynamically allocated in vector ?? This went to a big argument and finally we came to a solution . The next question was we know that using vector we can access an element in O(1) time . Now what will be the time complexity for adding or removing a number in vector??
Be the first one to answer
Add answer anonymously...
Top Morgan Stanley NA interview questions & answers
Top HR questions asked in Morgan Stanley NA
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app