SAP Labs Interview Questions | Set 8 (Bangalore)
Round One:
1. Find Min and Max of an array in only one traversal.
2. Given a chessboard find maximum number of squares present.
3. Job description.
4. Difference between deep and shallow copy.
5. What is C++
6. What’s “preinitialization”
Round Two:
1. reverse a linked list
1.1 Use Recursion
2. Copy constructor, operator = different used cases, code
3. Deep Copy, Shallow Copy Used cases
4. Different versions of polymorphism, how to solve the problem of multiple inheritance.
5. Deep look into Virtual concepts, inheritance.
6. Template classes, WAP operator= for template class such that it behaves differently for int and char *
7. Given a tree, WAP such that a matrix is generated so that:
Tree:
1
/ \
2 3
| / \
4 5 6
1 2 3 4 5 6
1 0 1 1 1 1 1
2 0 0 0 1 0 0
3 0 0 0 0 1 1
4 0 0 0 0 0 0
5 0 0 0 0 0 0
6 0 0 0 0 0 0
Hint: Preorder
8. Given an array, 1 2 0 5 4 88 0 0 0 6 make it, 1 2 5 4 88 6 0 0 0 0
9. Gave me class hierarchy, List the number of VTables created
10. When to use List and when to use Vector of STL
11. Given a string “I LOVE INDIA”, print “INDIA LOVE I”
If you like GeeksforGeeks and would like to contribute, you can also write an article and mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Recommended Posts:
- Amadeus Labs Bangalore Interview experience
- Amadeus Labs Bangalore Interview Experience(On-Campus)
- SAP Labs Interview Questions | Set 9 (Fresher)
- Moonfrog Labs Interview Questions
- HP R&D; Interview Experience | Set 4 (R&D; Lab Bangalore)
- Interview for SDE-2 at Dailyhunt Bangalore
- HP R&D; Interview Experience | Set 3 (R&D; Lab Bangalore)
- TCS NQT Interview on 4th July in Bangalore
- Samsung Bangalore (SRI-B) Interview Experience
- OLA Cabs Interview Experience (Bangalore)
- Samsung RnD Bangalore Interview 2018
- PlayGames 24*7 Bangalore Interview Experience ( 6+ Yrs Exp)
- Eagleview Bangalore Interview Experience
- Symantec Bangalore Interview Experience
- Velankani Software Pvt. Ltd. Bangalore Interview Experience



