SAP Labs interview experience Real time questions & tips from candidates to crack your interview

Software Developer

SAP Labs
upvote
share-icon
5 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Data structures, algorithms, OOPS, Dynamic programming, SQL.
Tip
Tip

Tip 1 : Try to have a good grasp on data structures and algorithms
Tip 2 : It's good if you have knowledge of cloud
Tip 3 : know everything which is in your CV . Not knowing what you worked upon is disappointing

Application process
Where: Campus
Eligibility: No criteria
Resume Tip
Resume tip

Tip 1 : Have some projects relevant ti product development in your CV
Tip 2 : Never lie on your CV

Interview rounds

01
Round
Easy
Online Coding Test
Duration90 minutes
Interview date20 Nov 2019
Coding problem2

The coding round has two questions which can be done in any of the coding language . One of which was a basic regix question and other one wad dynamic programming question

1. The Maze ll

Hard
25m average time
70% success
0/120
Asked in companies
SAP LabsAmazon

Ninja is stuck in a maze with empty spaces and walls. Ninja can go through empty spaces by running up, down, left or right, but he will continue running in the same direction until hitting a wall. When he stops, he could choose the next direction.

Given Ninja's start position, the destination and the maze, find the shortest distance for Ninja to stop at the destination. The distance is defined by the number of empty spaces traveled by Ninja from the start position (excluded) to the destination (included). If Ninja cannot stop at the destination, return -1.

The maze is represented by a binary 2D array. 1 means the wall and 0 means the empty space. You may assume that the borders of the maze are all walls. The start and destination coordinates are represented by row and column indexes.

Note :
Both Ninja’s starting cell and the destination cell exist on an empty space, and they will not be at the same position initially.

The given maze does not contain borders (like the red rectangle in the sample pictures), but you could assume the borders of the maze are all walls.
Example :
N = 3, M = 3
Maze = [ [ 0, 0, 0 ], [ 0, 1, 0 ], [ 1, 0, 0] ]
Start = [ 0, 0 ]
Destination = [ 2, 1 ]

Explanation : 

Ninja can start from (0,0) and take the right direction and run till (0,2). Then he turns direction to down and runs till (2,2). Then Ninja turns direction to the left and runs till (2,1). 
Problem approach

Wrote recursion and converted it to dp

Try solving now

2. Find the largest matching word.

Moderate
15m average time
85% success
0/80
Asked in companies
WalmartSAP LabsAccolite

You have been given a string ‘ST’ of length ‘N’ and ‘X’ words all containing lowercase alphabets. You call a word matching from ‘ST’ if by removing some characters of ‘ST’ you can form that word.

Your task is to return the largest matching word among these ‘X’ words. If there are multiple strings of largest length return lexicographically smallest string. If no word matches from ‘ST’ return ‘#’ as the string.

Example:
Let’s say you have “abcd” as string ‘ST’ and 2 words “bd” and “db”. “bd” matches with the string ‘ST’ as you can remove ‘a’ and ‘c’ character to form “bd”. “db” does not match with the string ‘ST’ because it is impossible to form “db” from the string ‘ST’ by removing characters.
Note:
You cannot change the order of characters in ‘ST’ after removing some characters. 
Try solving now
02
Round
Easy
Face to Face
Duration30 minutes
Interview date2 Dec 2019
Coding problem1

15-30 minutes

1. Is it a Circular Linked List?

Easy
15m average time
85% success
0/40
Asked in companies
MicrosoftSAP LabsSamsung R&D Institute

You are given a Singly Linked List of integers. You have to find if the given linked list is circular or not.

image

Try solving now
03
Round
Easy
Face to Face
Duration30 minutes
Interview date2 Dec 2019
Coding problem1

It was in second half of the day . The interviewer was very calm and gave me quite time to think about solution

1. SQL Question

Gave a problem and needed to be solved using sql keys

Problem approach

Tip 1 : Have good knowledge of SQL advanced
 

04
Round
Medium
Face to Face
Duration30 minutes
Interview date2 Dec 2019
Coding problem1

This was one of the face to face interview that wad conducted in campus in afternoon

1. Technical Question

This question was related to one of the product development project that i did and wrote in my cv

05
Round
Easy
HR Round
Duration30 minutes
Interview date2 Dec 2019
Coding problem1

This was a basic hr round conducted in campus and in evening

1. Basic HR Questions

Tell me about yourself.

Why should we hire you?

Your strengths and weaknesses.

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 remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
Software Developer
4 rounds | 6 problems
Interviewed by SAP Labs
1076 views
0 comments
0 upvotes
company logo
Software Developer
3 rounds | 8 problems
Interviewed by SAP Labs
1119 views
0 comments
0 upvotes
company logo
Software Developer
6 rounds | 12 problems
Interviewed by SAP Labs
2912 views
0 comments
0 upvotes
company logo
Software Developer
4 rounds | 11 problems
Interviewed by SAP Labs
851 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Developer
5 rounds | 14 problems
Interviewed by Microsoft
4030 views
1 comments
0 upvotes
company logo
Software Developer
3 rounds | 3 problems
Interviewed by Amazon
1271 views
0 comments
0 upvotes
company logo
Software Developer
4 rounds | 5 problems
Interviewed by Intuit
905 views
0 comments
0 upvotes