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

SDE - Intern

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

Interview preparation journey

expand-icon
Journey
Third Tier College Graduate in Computer Science, with internship experience at 2 startups, focused on DSA and Machine Learning along side a little web development.
Application story
The company visited our campus, they shortlisted based on resumes and then further rounds including Tech and HR were conducted
Why selected/rejected for the role?
Having done 2 internships at different startups and having a wide variety of skills under my belt, helped in getting my resume shortlisted and consistency on DSA and core skills helped crack the interviews
Preparation
Duration: 6 months
Topics: Data Structures, OOPS, System Design, Algorithms, OS, Python, Machine Learning
Tip
Tip

Tip 1 : Be consistent with DSA, practice daily and utilize platforms like Leetcode, InterviewBit, Coding Ninja's
Tip 2 : Focus on at least one dev skill alongside, choose among web dev, app dev, or Machine learning. DevOps, Blockchain are also good options
Tip 3 : Choose college electives carefully as they tend to take up a lot of your time

Application process
Where: Campus
Eligibility: Above 7 CGPA required.
Resume Tip
Resume tip

Tip 1: Don't mentions any false projects or skills as they tend to focus on resumes
Tip 2: Having previous internships or good projects is a big plus, so try to include them.

Interview rounds

01
Round
Medium
Online Coding Test
Duration90
Interview date31 Jul 2023
Coding problem2

it was conducted in the evening, the coding environment was very good. we had options for choosing among 3 languages i.e Python, Java, C++.

1. LRU Cache Implementation

Moderate
25m average time
65% success
0/80
Asked in companies
OYOHikeWalmart

Design and implement a data structure for Least Recently Used (LRU) cache to support the following operations:

1. get(key) - Return the value of the key if the key exists in the cache, otherwise return -1.

2. put(key, value), Insert the value in the cache if the key is not already present or update the value of the given key if the key is already present. When the cache reaches its capacity, it should invalidate the least recently used item before inserting the new item.
You will be given ‘Q’ queries. Each query will belong to one of these two types:
Type 0: for get(key) operation.
Type 1: for put(key, value) operation.
Note :
1. The cache is initialized with a capacity (the maximum number of unique keys it can hold at a time).

2. Access to an item or key is defined as a get or a put operation on the key. The least recently used key is the one with the oldest access time.
Try solving now

2. SQL Questions

It was an SQL query which required 2 joins among 3 tables.

Problem approach

Tip 1: Get a good knowledge about SQL queries and which joins are used when 
Tip 2: Remember Keywords, and which keyword has what complexity.
 

02
Round
Medium
Video Call
Duration30
Interview date2 Aug 2023
Coding problem3

it was in the morning, happened on Microsoft Teams. the length was about 30 minutes

1. System Design

Design a basic system on how twitter works, and how would you design it.(Learn)

Problem approach

Tip 1: Get the terminologies on System design and how to utilize them
Tip 2: Lear about how LLD works.
Tip 3: Keep a problem solving approach on how big problems can be broken down into different segments to simplify the approach required.

2. OS Questions

what is round robin approach ? How is bankers algorithm different from it.(Learn)

Problem approach

Tip 1: Know the basics about OS
Tip 2: Learn the key differences between algorithms and inn which context are they used.
 

3. Theory Question

The question was a theory question on Time Complexity difference b/w different sorting algorithm, and a follow up question on Quick sort vs Merge Sort.

Problem approach

I explained about Bubble Sort, Quick Sort, Merge Sort , Insertion Sort and there complexities, and explain how merge sort and Quick sort differ based on space complexity etc.

03
Round
Medium
Video Call
Duration60
Interview date4 Aug 2023
Coding problem2

it was right after the previous round, this round lasted 60 minutes. This was also a Teams meeting.

1. Merge k sorted lists

Hard
25m average time
65% success
0/120
Asked in companies
MicrosofteBayAmazon

Given 'k' sorted linked lists, each list is sorted in increasing order. You need to merge all these lists into one single sorted list. You need to return the head of the final linked list.


For example:
Input:
3
3
4 6 8
3
2 5 7 
2
1 9

Output:
1 2 4 5 6 7 8 9 

Explanation:
First list is: 4 -> 6 -> 8 -> NULL
Second list is: 2 -> 5 -> 7 -> NULL
Third list is: 1 -> 9 -> NULL
The final list would be: 1 -> 2 -> 4 -> 5 -> 6 -> 7 -> 8 -> 9 -> NULL
Problem approach

i explained the bruteforce first explaining how it would not be optimal and what approach we can use to solve it in linear time.

Try solving now

2. Puzzle

There are 25 horses, among which you need to find the top 3 fastest horses. You can conduct a race among at most 5 to determine their relative speed. Find out the minimum number of races that are required to determine the top 3 horses. (Learn)

Problem approach

Tip 1: Have a open discussion on topics,= with the interviewer
Tip 2: Keep an analytical approach and have a practice on common puzzles asked
 

04
Round
Easy
HR Round
Duration15
Interview date5 Aug 2023
Coding problem1

It was also a online round, on Microsoft Teams

 

1. HR Questions

I was only asked how did i know SAP, what was my thoughts on joining.

Problem approach

Tip 1: Do a study on the company and the Business
Tip 2: Keep some questions handy to ask about the company and role
 

Here's your problem of the day

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

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - Intern
4 rounds | 11 problems
Interviewed by SAP Labs
1542 views
0 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by SAP Labs
2114 views
0 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 4 problems
Interviewed by SAP Labs
800 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by SAP Labs
875 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
15480 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
15338 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
10142 views
2 comments
0 upvotes