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

SDE - 2

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

Interview preparation journey

expand-icon
Preparation
Duration: 6 Months
Topics: DSA, System Design, Java, Javascript, Dynamic Programming.
Tip
Tip

Tip 1 : Be consistent in your preparation. Daily practice at least 2-3 Data structures and algorithms questions.
Tip 2 : Have patience.
Tip 3 : Stay motivated.

Application process
Where: Referral
Eligibility: B.tech degree
Resume Tip
Resume tip

Tip 1 : Properly display skills set and project.
Tip 2 : Be honest with skills mentioned on resume.

Interview rounds

01
Round
Medium
Video Call
Duration60 minutes
Interview date1 Nov 2021
Coding problem2

Technical round with focussed on DSA.

1. Two Sum

Easy
10m average time
90% success
0/40
Asked in companies
MeeshoAdobeInfo Edge India (Naukri.com)

You are given an array of integers 'ARR' of length 'N' and an integer Target. Your task is to return all pairs of elements such that they add up to Target.

Note:

We cannot use the element at a given index twice.

Follow Up:

Try to do this problem in O(N) time complexity. 
Try solving now

2. Reverse Linked List

Moderate
15m average time
85% success
0/80
Asked in companies
WalmartHCL TechnologiesInfo Edge India (Naukri.com)

Given a singly linked list of integers. Your task is to return the head of the reversed linked list.

For example:
The given linked list is 1 -> 2 -> 3 -> 4-> NULL. Then the reverse linked list is 4 -> 3 -> 2 -> 1 -> NULL and the head of the reversed linked list will be 4.
Follow Up :
Can you solve this problem in O(N) time and O(1) space complexity?
Problem approach

public ListNode reverseList(ListNode head) {
/* iterative solution */
ListNode newHead = null;
while (head != null) {
ListNode next = head.next;
head.next = newHead;
newHead = head;
head = next;
}
return newHead;
}

public ListNode reverseList(ListNode head) {
/* recursive solution */
return reverseListInt(head, null);
}

private ListNode reverseListInt(ListNode head, ListNode newHead) {
if (head == null)
return newHead;
ListNode next = head.next;
head.next = newHead;
return reverseListInt(next, head);
}

Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date4 Nov 2021
Coding problem1

Technical round with focussed on DSA and Java.

1. Parity Move

Easy
0/40
Asked in companies
SAP LabsAmazon

Ninja recently studied odd and even numbers but he is more interested in even numbers.

He has an array ‘A’ containing ‘N’ integers. He will transform this array by moving all the even numbers at the beginning of the array and all the odd numbers at the end of the array.

Output the final array after transformation. If there are multiple transformations possible for the array, output any.

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

Explanation : 

The even numbers are : 4, 2.
The odd numbers are : 1, 3.
The final array ‘A’ is : [ 4, 2, 1, 3 ].
Try solving now
03
Round
Medium
Video Call
Duration50 minutes
Interview date9 Nov 2021
Coding problem1

System Design

1. System Design Question

 Given a system design question for booking a movie ticket more like bookmyshow.
What should be the architecture, how to handle concurrency.
What DB should be used.

Problem approach

Tip 1 : Understand questions and scenarios.
Tip 2 : Have proper communication with interviewer.
Tip 3 : Draw diagrams and discuss with interviewer.

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
Senior Software Developer
4 rounds | 13 problems
Interviewed by SAP Labs
1865 views
0 comments
0 upvotes
company logo
Developer Associate
5 rounds | 8 problems
Interviewed by SAP Labs
2218 views
0 comments
0 upvotes
company logo
SDE - 2
5 rounds | 7 problems
Interviewed by SAP Labs
0 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 5 problems
Interviewed by SAP Labs
1181 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 2
5 rounds | 12 problems
Interviewed by Walmart
29892 views
8 comments
0 upvotes
company logo
SDE - 2
3 rounds | 5 problems
Interviewed by Amazon
6766 views
1 comments
0 upvotes
company logo
SDE - 2
6 rounds | 8 problems
Interviewed by Amazon
5281 views
0 comments
0 upvotes