Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
SAP Labs interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

SAP Labs
upvote
share-icon
4 rounds | 9 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: Trees, Dynamic Programming, Strings, Operating System, DBMS.
Tip
Tip

Tip 1 : Be confident while talking to the interviewer, if you don't know the answer then simply say you are not aware with this topic.
Tip 2 : Be interactive with interviewer, feel free to ask question(if any).
Tip 3 : Be honest, you have already solved some problems, if interviewer ask you whether you have solved this problem earlier or not then be honest while answering it.

Application process
Where: Campus
Eligibility: 8 cgpa
Resume Tip
Resume tip

Tip 1 : Mention the latest project in resume.
Tip 2 : Don't put too many things in your resume, Be concise and precise with your resume.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 minutes
Interview date20 Sep 2020
Coding problem1

It consisted of 10 MCQ questions based on OOPs(C++ and Java-based), C(based on pointers), and 2 coding questions.

1. Longest Unique Substring

Moderate
30m average time
65% success
0/80
Asked in companies
SliceCognizantOLX Group

Given a string input of length n, find the length of the longest substring without repeating characters i.e return a substring that does not have any repeating characters.

Substring is the continuous sub-part of the string formed by removing zero or more characters from both ends.

Problem approach

I used brute force

Try solving now
02
Round
Medium
Video Call
Duration30-40 minutes
Interview date23 Dec 2020
Coding problem3

1. What is polymorphism?

Problem approach

The word polymorphism means having many forms. Real life example of polymorphism: A person at the same time can have different characteristic. Like a man at the same time is a father, a husband, an employee. So the same person posses different behavior in different situations. This is called polymorphism.

2. Duplicate in array

Easy
15m average time
85% success
0/40
Asked in companies
HSBCMicrosoftCars24

You are given an array ‘ARR’ of size ‘N’ containing each number between 1 and ‘N’ - 1 at least once. There is a single integer value that is present in the array twice. Your task is to find the duplicate integer value present in the array.

For example:

Consider ARR = [1, 2, 3, 4, 4], the duplicate integer value present in the array is 4. Hence, the answer is 4 in this case.
Note :
A duplicate number is always present in the given array.
Try solving now

3. Logic Questions

1. from which point on earth is it that if u move 1 mile south, i mile east, 1 milenorth will u reach the same point (ans = North pole)
2. using 6 matchsticks of same length create 4 equilateral triangles (ans =tetrahedron, but i was given a hint that it was in 3d)

03
Round
Medium
Video Call
Duration30 - 40 minutes
Interview date23 Dec 2020
Coding problem4

1. What is polymorphism and types of polymorphism?

Problem approach

The word polymorphism means having many forms. ... Real life example of polymorphism: A person at the same time can have different characteristic. Like a man at the same time is a father, a husband, an employee. So the same person posses different behavior in different situations. This is called polymorphism.

2. Binary Pattern

Easy
10m average time
80% success
0/40
Asked in companies
CognizantSAP LabsTata Consultancy Services (TCS)

You have been given an input integer 'N'. Your task is to print the following binary pattern for it.

Example

Pattern for 'N' = 4

1111
000
11
0

The first line contains 'N' 1s. The next line contains 'N' - 1 0s. Then the next line contains 'N' - 2 1s and so on.

Try solving now

3. What is abstraction

4. What are the different types of errors?

She was looking for run time errors, compile time errors, exceptions which are handled and unhandled

04
Round
Easy
HR Round
Duration15 minutes
Interview date23 Dec 2020
Coding problem1

1. Behavioral questions

After a basic introduction , I was asked all my marks from class 10. He asked many company specific questions like who is the CEO,CTO, name 3 SAP products all to which I had no answer because I didn’t get time to look up on any of those. Since I had an interest in chess mentioned in my resume, he asked me to calculate the total number of squares in a chessboard which I did. (204 squares)

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

How do you write a single-line comment in C++?

Choose another skill to practice
Start a Discussion
Similar interview experiences
company logo
SDE - 1
3 rounds | 3 problems
Interviewed by SAP Labs
1780 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by SAP Labs
0 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by SAP Labs
536 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 2 problems
Interviewed by SAP Labs
1167 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
104643 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
49760 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
31028 views
6 comments
0 upvotes