I applied on career portal for c++ developer role and got interview call. Morgan Stanley have hiring drive mostly on Thrusday.
Role: Manager/Senior Manager_ C++ Developer_Technology
Experience: 2-8 yrs
Interview Process:
R1- Technical Interview over zoom (time : 1 hr)
- Interview starts with basic introduction, current role/project discussion, questions like why you want to switch, location etc.
- First problem was to return if two cities are connected or not with flight.
Data format:
Source -> Destination
Mumbai -> Delhi
Delhi -> Bengaluru
Bengaluru -> Kolkata
Pune -> Hyderabad
Test_case_1: Input: Mumbai to Bengaluru
output: True
Test_case_2: Input: Delhi to Kolkata
output: True
- Given whole book as input we need to return frequency of each word in book.
- C++ question:
- Deep copy and Shallow Copy Difference
- Hashing
- STL: like map, searching algo etc.
R2- Technical Interview over zoom (post positive feedback received from Round 1) (time : 1 hr)
This round is purely on C++ concepts
- First interviewer asked me to rate myself in c/c++
- Asked about how we allocate memory in c (malloc and calloc concepts)
- Preprocessor questions like how #include, MACRO works in c++
- What is runtime and compile time
- Strcopy in c++
- Acccess specifier (public, private, protected)
- Inheritence
- Constructor and its types
- Why copy constructor is defined
- Questions on STL: set, vector, list
- Internal mechanism of set in c++
- Sorting algorithms
.........many more questions.
Two Coding Questions:
- Reverse a string
- Check if given set of parenthesis are balanced or not
Database Question:
- Asked few DB concepts like primary key , DML, DDL etc
- One update query: given a employee table, update a salary of employees with 2+ yrs of experience with 5k.