i
SAP
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
I appeared for an interview before Sep 2020.
Round duration - 60 mins
Round difficulty - Easy
The first round was coding + mcq round. It was held in the campus in the afternoon. There were 10 mcqs based on the computer related subjects and 2 coding questions with around 10 test cases to be completed within 60 minutes. The questions were random for every person.
Given a node in an arbitrary binary tree, find its inorder successor. The successor is defined as the node that appears immediately after the given node in the in-order ...
Given a node in a binary tree, find its inorder successor in the tree.
Traverse the tree in in-order fashion to find the successor node.
If the given node has a right child, the successor will be the leftmost node in the right subtree.
If the given node does not have a right child, backtrack to the parent nodes to find the successor.
Handle the case where the given node is the last node in the in-order traversal.
Return the...
Given two strings str1
and str2
containing only lowercase alphabets, find the characters that are unique to each string, i.e., characters that occur in only one of th...
Find uncommon characters in two strings and return them in lexicographically sorted order.
Iterate through each character in both strings and keep track of their frequency using a hashmap.
Iterate through the hashmap and add characters with frequency 1 to the result array.
Sort the result array in lexicographical order and return it.
Round duration - 30 minutes
Round difficulty - Medium
I got selected for the interview. It was held 2 days after the coding round. First all the shortlisted students attended the company ppt. After that we went for the first interview. The interviewer was very friendly. He mainly asked about DBMS concepts and some coding questions.
You are given a singly linked list of integers. The task is to return the head of the reversed linked list.
The given linked list is 1 -> 2 -> 3 ...
Reverse a singly linked list iteratively and return the head of the reversed linked list.
Iterate through the linked list and reverse the pointers to point to the previous node instead of the next node.
Keep track of the previous, current, and next nodes while traversing the linked list.
Update the head of the reversed linked list to be the last node encountered.
Time complexity: O(N), Space complexity: O(1).
Round duration - 40 mins
Round difficulty - Hard
Soon, after the first interview, I got shortlisted for the second interview. I went to the interviewer. At first, he just asked me about my hobbies.Subsequently, he took a look at my CV and asked me to explain the projects on which I had worked on in my internship. After that, he asked about whether I know Java on which I said no. Then he asked me some concepts of OOPS and a problem on inheritance and classes.
Round duration - 15 mins
Round difficulty - Easy
After an hour of the second interview, I was called for the managerial round. The manager first asked me to introduce myself and then he just asked me my job location preference whether it is bangalore or gurgaon. He then asked are you satisfied with the pay we are offering. At the end, he asked me what approach can we use to count hair on our head.
Tip 1 : Always tell what you are thinking to the interviewer, don’t be silent, be confident. Interviewer is more concerned with how you approach a question rather than just getting the solution.
Tip 2 : Practice, practice and Practice. You have to code regularly. You won't remember the approach of a question if you just mentally solve it and don't code. Practicing will also enhance your speed on the day of the test.
Tip 3 : Just focus on your preparation. Don't bother yourselves by what others are doing. People may try to mislead you by concealing about their preparation.
Tip 1: Try to adjust it to one page. Don't include unnecessary details.
Tip 2: Try to use good templates present on the internet. My interviewer was quite impressed with my template.
I applied via Campus Placement and was interviewed before Dec 2021. There were 4 interview rounds.
Quantitative, Reasoning, DBMS Concepts, Flow chart questions
Merge sort is a divide and conquer algorithm that sorts an array by dividing it into two halves, sorting each half, and then merging them.
Divide the array into two halves
Recursively sort the two halves
Merge the sorted halves
Time complexity is O(n log n)
Space complexity is O(n)
To check if there is a loop in a linked list, we can use Floyd's cycle-finding algorithm.
Create two pointers, slow and fast, and initialize them to the head of the linked list.
Move slow pointer by one node and fast pointer by two nodes.
If there is a loop, the fast pointer will eventually catch up to the slow pointer.
If there is no loop, the fast pointer will reach the end of the linked list.
Time complexity: O(n), Space
posted on 28 Jan 2020
I applied via Naukri.com and was interviewed in Jul 2019. There were 3 interview rounds.
Explanation of UART, SPI, CAN, I2C timing diagrams and frame formats.
UART: asynchronous serial communication, start and stop bits, baud rate
SPI: synchronous serial communication, master-slave architecture, clock polarity and phase
CAN: differential serial communication, arbitration, error detection and correction
I2C: synchronous serial communication, master-slave architecture, addressing, clock stretching
posted on 21 Apr 2021
I applied via Naukri.com
posted on 16 Apr 2021
I appeared for an interview before Sep 2020.
Round duration - 120 Minutes
Round difficulty - Easy
The round was conducted in day around 3PM.
Given an array ARR
consisting of 'N' positive integers, determine if it is possible to partition the array into two subsets such that the sum of the elements in both sub...
The problem is to determine if it is possible to partition an array into two subsets with equal sum.
Use dynamic programming to solve this problem efficiently.
Create a 2D array to store the results of subproblems.
Check if the sum of the array is even before attempting to partition it.
Iterate through the array and update the 2D array based on the sum of subsets.
Return true if a subset with half the sum is found, false ot
Round duration - 30 Minutes
Round difficulty - Easy
The interview was preponed and was conducted at 9AM.
The interviewer was friendly and I had saw him earlier at pre-placement talk.
Given a string STR
, your task is to remove spaces from STR
and convert it to Pascal case format. The function should return the modified STR
.
In Pascal case, words are con...
Convert a given string to Pascal case format by removing spaces and capitalizing the first letter of each word.
Iterate through each character in the string
If the character is a space, skip it
If the character is not a space and the previous character is a space or it is the first character, capitalize it
SQL query to retrieve the Nth highest salary from a database
Use the ORDER BY clause to sort salaries in descending order
Use the LIMIT clause to retrieve the Nth highest salary
Consider handling cases where there might be ties for the Nth highest salary
Round duration - 30 Minutes
Round difficulty - Easy
This round was conducted 15mins after 1st round.
You are given a singly Linked List with 'N' nodes containing integer data and an integer 'K'. Your task is to delete the Kth node from the end of this Lin...
Remove the Kth node from the end of a singly linked list.
Traverse the list to find the length 'N'.
Calculate the position of the node to be removed from the beginning as 'N - K + 1'.
Remove the node at the calculated position.
Handle edge cases like removing the head or tail of the list.
Update the pointers accordingly after removal.
Tip 1 : Do Competitive Coding
Tip 2 : Learn at least 1 framework
Tip 3 : Build interest in computers
Tip 1 : Be well informed of everything you mention in your resume
Tip 2 : Mention competitive coding achivements in your resume(if any)
I applied via Approached by Company and was interviewed before Aug 2021. There was 1 interview round.
Abstract class can have implementation while interface cannot. Classes can implement multiple interfaces but only one abstract class.
Abstract class can have constructors while interface cannot.
Abstract class can have non-abstract methods while interface cannot.
Interfaces are used for full abstraction while abstract classes are used for partial abstraction.
Example: Abstract class - Animal with method eat() and subclass ...
I applied via Naukri.com and was interviewed in Jan 2021. There were 3 interview rounds.
I applied via Recruitment Consultant and was interviewed in Oct 2020. There were 4 interview rounds.
Program to reverse a string in minimum iteration
Use two pointers, one at the start and one at the end of the string
Swap the characters at the two pointers and move the pointers towards each other
Repeat until the pointers meet in the middle of the string
I applied via Naukri.com and was interviewed in Apr 2021. There were 4 interview rounds.
Some of the top questions asked at the SAP Developer Associate interview for freshers -
based on 112 reviews
Rating in categories
Software Developer
1.2k
salaries
| ₹8.3 L/yr - ₹32.7 L/yr |
Developer
866
salaries
| ₹10.2 L/yr - ₹32 L/yr |
Developer Associate
856
salaries
| ₹7.8 L/yr - ₹23 L/yr |
Senior Developer
542
salaries
| ₹13.1 L/yr - ₹50 L/yr |
Business Process Consultant
439
salaries
| ₹10 L/yr - ₹40 L/yr |
Oracle
SAS
Zoho
IBM