Tip 1 : Focus on understanding the approach to solve a problem and if stuck why you got stuck instead of going through the solutionand accepting what it is written there. I have seen many people doing this which i don't agree with.
Tip 2 : Same for labnguages try to understand the basics/fundamentals on which the language/concept is built
Tip 3 : Even if you are doing 100 questions Only but as long as concepts are clear you will do very well.
Tip 4 : GFG practice sections for OOPS/DBMS/OS/NETWORKING are worth doing atleast once
Tip 1 : Be short and precise as much as you can about your projects, internships and skills.
Tip 2 : Mention the important information on first page as many a times they even don't look at page 2 for campus placements.
2 medium level coding questions



1. You can not slant the container i.e. the height of the water is equal to the minimum height of the two lines which define the container.
2. Do not print anything, you just need to return the area of the container with maximum water.

For the above Diagram, the first red marked line is formed between coordinates (2,0) and (2,10), and the second red-marked line is formed between coordinates (5,0) and (5,9). The area of water contained between these two lines is (height* width) = (5-2)* 9 = 27, which is the maximum area contained between any two lines present on the plane. So in this case, we will return 3* 9=27.



In the given linked list, there is a cycle, hence we return true.

First round started at around 6 pm and was written round where interviewer asked to pick any topic of my choice and i picked tree for it. Then he asked me few questions around the basic tree algorithms and traversal which i explained convicingly. They key was to explain how you are doing it rather than writing the solutions directly on paper.
You will always find intrviewer from SAP as free friendly and helpful and it was same here.



If the input tree is as depicted in the picture:
The Left View of the tree will be: 2 35 2
What is a binary tree, tree vs binary tree
These are standard questions easily available on GFG. Key is to explain it properly and it should not look like you have just memorised it all.
I was asked puzzles like if it doubles every two days then how muc time will it take 2 ants to have a population of 1024 followed by basic questions around Relational Databases and OOPs concepts.
Interviewers were very friendly and as all rounds were continuous so were in same night.
how much time will it take 2 ants to have a population of 1024
Tip 1: don't jump to answer directly. Explain the approach.
Tip 2: don't give intial wrong answer in rush of blood. Think and then answer
Encapsulation, Abstraction why they are needed
A good understandinf of these concepts helps here.
What is relational databases? It's advantages and disadvantages
Tip 1: Have a good understanding of the relational databases basics
Tip 2: Be open to admit the topics you don't know in detail
Round was focused on approach to solve a problem which is non technical and understanding if you will stay at SAP for some time or not.
HR was very helpful .
What is cloud? How will you explain it to a kid of 5 years.
Tip 1: Be as creative as you can.
Tip 2: Try to bring up your thought process in conversations
How will you help solve the problem of Air/Food/Water for people through engineering?
Tip 1:be focused on the engineering aspects.
Tip 2: Creativity is again the key here
Tip 3:
Goal for next 5 years, Technology preferences etc.
Tip 1: Make sure your answers seem aligned to the company work area.
Tip 2: They are looking if candidate will stay or leave within a year so answer bit diplomatically.

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?