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

Associate Developer

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

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Data structure, Algo, Database Management Systems, OS, Low level design
Tip
Tip

Tip 1 : Be consistent in solving DSA
Tip 2 : Keep revising core subjects

Application process
Where: Campus
Eligibility: 7+ CGPA
Resume Tip
Resume tip

Tip 1 : Don't fake any thing
Tip 2 : Mention skills at the top

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 mins
Interview date5 Aug 2020
Coding problem1

1. Remove Consecutive Duplicates From String

Moderate
22m average time
0/80
Asked in companies
AmazonMeeshoIntuit

You are given a string 'STR' consisting of lower and upper case characters. You need to remove the consecutive duplicates characters, and return the new string.


Note :
You don't have to print anything, it has already been taken care of. Just implement the given function.
Problem approach

This can be solved using stacks and strings, just keep a separate variable along the character and keep counting frequency

Try solving now
02
Round
Medium
Video Call
Duration60 mins
Interview date7 Aug 2020
Coding problem2

1. Move Zeroes to End

Easy
0/40
Asked in companies
SAP LabsBirdEyeDeloitte

Given an unsorted array of integers, you have to move the array elements in a way such that all the zeroes are transferred to the end, and all the non-zero elements are moved to the front. The non-zero elements must be ordered in their order of appearance.

For example, if the input array is: [0, 1, -2, 3, 4, 0, 5, -27, 9, 0], then the output array must be: [1, -2, 3, 4, 5, -27, 9, 0, 0, 0].

Expected Complexity: Try doing it in O(n) time complexity and O(1) space complexity. Here, ‘n’ is the size of the array.

Problem approach

This is a preety straightforward question just keep two pointers one at the start and one on second index and keep swapping once you find a 1 and 0 pair.

Try solving now

2. Technical questions

Design Product Notification for out of stocks products in an eCommerce application.
3 SQL queries( 1 on joins, 1 on nested query, and 1 on group-by).
He wrote around 10 SQL commands and asked to define them.
Difference between Delete, Drop, and Truncate.
Pointers and References.
Struct and Union with respective use cases.
Explain malloc, calloc, etc.

Problem approach

Tip 1: Brush your CS Fundamentals before interview
 

03
Round
Medium
Video Call
Duration60 mins
Interview date7 Aug 2020
Coding problem3

1. Largest subarray with equal number of 0s and 1s

Moderate
10m average time
85% success
0/80
Asked in companies
OraclePhonePeSAP Labs

You are given an array consisting of 0s and 1s. You need to find the length of the largest subarray with an equal number of 0s and 1s.

For example:

If the given array is: [0, 0, 1, 0, 1] The largest subarray would be: [0, 1, 0, 1] (last 4 elements) having length 4.
Problem approach

Replace 0's with -1 and now you have to find the sum of subarray with 0 sum and max size, which is standard

Try solving now

2. Check Permutation

Easy
0/40
Asked in companies
SAP LabsMicrosoftPropTiger

Given 2 strings check if they are rotation of each other or not.
 

Problem approach

Tip 1: Ask clarifying questions 
Tip 2: Involve interviewer

Try solving now

3. Technical Questions

Design a Car Rental System. ( I started with a basic design then he asked me to add features like transfer of ownership, etc.)
Normal Forms, ACID properties, and how to make transactions serializable.
Discussion on memory allocation and malloc, calloc, new, etc.
Design TinyURL( only approach was asked.)

04
Round
Easy
HR Round
Duration30 minutes
Interview date7 Aug 2020
Coding problem1

1. Basic HR Questions

Why SAP?
Why should we hire you?
What are your expectations from SAP?
Interests and job location.
What are your long term goals?
What co-curricular activities do you want to do in SAP?

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
Associate Developer
3 rounds | 2 problems
Interviewed by SAP Labs
2090 views
0 comments
0 upvotes
company logo
Associate Developer
3 rounds | 6 problems
Interviewed by SAP Labs
1448 views
0 comments
0 upvotes
company logo
Associate Developer
4 rounds | 7 problems
Interviewed by SAP Labs
1620 views
0 comments
0 upvotes
company logo
Associate Developer
5 rounds | 11 problems
Interviewed by SAP Labs
2504 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Associate Developer
3 rounds | 5 problems
Interviewed by Oracle
1455 views
0 comments
0 upvotes