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

SDE - 1

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

Interview preparation journey

expand-icon
Preparation
Duration: 6 Months
Topics: Data Structures and Algorithms, System Design, JAVA, Database, Problem Solving
Tip
Tip

Tip 1 : Practice everyday atleast 2 new problems
Tip 2 : Keep learning and reading

Application process
Where: Linkedin
Eligibility: No
Resume Tip
Resume tip

Tip 1 : Resume should be short and crisp.
Tip 2 : Keep limited skill set in your resume and be extremely good in those skill sets.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration40 Minutes
Interview date9 Jul 2020
Coding problem1

1. Hungry Ninja

Hard
40m average time
60% success
0/120
Asked in company
SAP Labs

Ninja decided to visit the new Buffet Restaurant in the neighbourhood. There are a total of ‘N’ different dishes, numbered ‘0 to N-1’. But there is a restriction. The ninja cannot make orders on his own will. There are ‘M’ types of orders that he can make. Each Order ‘i’ consists of three values represented by array ‘C’, ‘L’ and ‘R’, which means Ninja can order all dishes numbered ‘L’ to ‘R’ with the cost of ‘C’ Ninja currency.

Ninja wants to taste all ‘N’ dishes, but he wants to spend the minimum amount of Ninja Currency.

Can you help Ninja figure out the minimum amount of Ninja Currency he needs to spend to taste all dishes.

You can assume that for given constraints, answers always exist.

Example :
N = 4
M = 3
A = [ [ 0, 2, 1 ] , [ 1, 2, 4 ] , [ 2, 3, 3 ] ]

If Ninja chooses [ 0, 2, 1 ] and [ 2, 3, 3 ], he can taste each dish for 4 Ninja Currency.
Try solving now
02
Round
Medium
Video Call
Duration50 Minutes
Interview date26 Jun 2020
Coding problem1

1. Diameter Of Binary Tree

Easy
10m average time
90% success
0/40
Asked in companies
AdobePhonePeAmazon

You are given a Binary Tree.


Return the length of the diameter of the tree.


Note :
The diameter of a binary tree is the length of the longest path between any two end nodes in a tree.

The number of edges between two nodes represents the length of the path between them.
Example :
Input: Consider the given binary tree:

Example

Output: 6

Explanation:
Nodes in the diameter are highlighted. The length of the diameter, i.e., the path length, is 6.


Try solving now
03
Round
Easy
Telephonic
Duration50 Minutes
Interview date10 Jul 2020
Coding problem1

1. System Design Question

Design Zomato kind of Food App

04
Round
Medium
Video Call
Duration60 Minutes
Interview date31 Jul 2021
Coding problem1

1. Technical Questions

Questions on arrays, datastructure then Mutithreading questions were there

05
Round
Easy
Video Call
Duration30 Minutes
Interview date14 Aug 2020
Coding problem1

1. Basic HR Questions

What keeps you motivated?

Who is your role model?

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
SDE - 1
3 rounds | 3 problems
Interviewed by SAP Labs
2656 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
866 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 2 problems
Interviewed by SAP Labs
1752 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
115096 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
58237 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
35146 views
7 comments
0 upvotes