Tip 1 : Practice quality questions
Tip 2 : Must have at least 1 project and you should know how it works
Tip 3 : Be confident in the interviews
Tip 1 : Having at least 1 project will let you stand out
Tip 2 : Put some achievements like you got a good rank in a coding contest
Online coding round:-
There was a coding question which has to be solved in 60 minutes. Difficulty level was medium
I was able to solve both these questions in 30 minutes so was able to clear the OA round .
About 12 students moves to next round.



For the given 5 intervals - [1, 4], [3, 5], [6, 8], [10, 12], [8, 9].
Since intervals [1, 4] and [3, 5] overlap with each other, we will merge them into a single interval as [1, 5].
Similarly, [6, 8] and [8, 9] overlap, merge them into [6,9].
Interval [10, 12] does not overlap with any interval.
Final List after merging overlapping intervals: [1, 5], [6, 9], [10, 12].



Let’s say the array ‘A’ = [1, 2, 3, 4, 5], then after merging indexes 2 and 3, the array ‘A’ will look like [1, 5, 4, 5].
1st interview round
First he introduced himself and i was asked to do the same and them immediately went to ask the questions.He asked me whether i have studied oops or not.Then he asked some
questions on oops.
What is inheritance?
Types of inheritance
why java doesn't support multiple inheritance?
Practical use of OOPs
After that interview ended...After some time we got the result of 1st round and total 8 people were get selected for next round.



Try to solve the problem in 'Single Scan'. ' Single Scan' refers to iterating over the array/list just once or to put it in other words, you will be visiting each element in the array/list just once.
2nd round
First she introducedd herself and asked to do the same
Asked whether i have studied oops or not.Then ask me about singleton class..about its defination and how to declare it and asked me to code it.
virtual functions
About trees..
threaded tree
types of traversal in tree



1. Roots of both the given trees are same.
2. Left subtree of the root of the first tree is the mirror of the right subtree of the root of the second tree.
3. Right subtree of the root of the first tree is the mirror of the left subtree of the root of the second tree.
For example,both the given trees are mirror image of each other:

3rd round (last round ) HR round
she introduced herself and ask me to do the same
She told me thats she'll not be asking technical questions here.. it will be simply a formal discussion about you.
She asked me my native place...My native place was same as where mmy college is. So asked me any specific reason to choose this college why not other college..
Do i have any issue with location i.e will you be comfortable with any location given or not
What you know about company
What comes to your mind when you here the name of SAP Labs
And at last asked me whether i have any question to ask or not
So always ask some question in such a case because this shows that you are interested in the comapany.
After 2 hours thet declared the result and all of them have given the internship offer (all 6 people).

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?