Add office photos
Engaged Employer

SAP

4.2
based on 1.6k Reviews
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by

Interview Questions and Answers

Updated 17 Feb 2024
Popular Designations
Q1. What is Linked list and reverse the linked list iteratively.

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...read more
View 6 more answers
Q2. Find uncommon characters of the two strings. Given strings 'str1' and 'str2'. Return a string of characters which are present in either of them but not both.The strings contain only lowercase characters and can...read more
View 3 more answers
Q3. Inorder Successor of a node in Binary Tree. Given a node x. Find it's inorder successor.

You have been given an arbitrary binary tree and a node of this tree. You need to find the inorder successor of this node ...read more

View 3 more answers
Q4. Explain inheritance to a layman with an example.

Make a class using inheritance implementing the database of a system where each object must work on the same database maintaining consistency and mutual exclusion...read more

Add your answer
Discover null interview dos and don'ts from real experiences
Q5. What approach can we use to count hair on our head.
Add your answer

Q6. How to reverse a linked list and write program to get right view of a binary tree.

Ans.

To reverse a linked list, we need to traverse the list and change the direction of the pointers. To get the right view of a binary tree, we need to traverse the tree and keep track of the rightmost node at each level.

  • To reverse a linked list, we can use three pointers to keep track of the current, previous, and next nodes.

  • To get the right view of a binary tree, we can use a queue to traverse the tree level by level and keep track of the rightmost node at each level.

  • Both opera...read more

Add your answer

Q7. design a calculator that does operations on 128 bit integers.

Ans.

Design a calculator that performs operations on 128 bit integers.

  • Use a data structure like an array to store the 128 bit integers.

  • Implement functions for addition, subtraction, multiplication, and division.

  • Consider handling overflow and underflow cases.

  • Use bitwise operations for efficient calculations.

Add your answer

Q8. Subjects you are comfortable with

Ans.

I am comfortable with various subjects related to software development.

  • Programming languages (e.g. Java, Python, C++)

  • Web development (e.g. HTML, CSS, JavaScript)

  • Database management (e.g. SQL, MongoDB)

  • Software testing and debugging

  • Version control systems (e.g. Git)

  • Object-oriented programming concepts

  • Algorithms and data structures

Add your answer

Q9. what are binary trees?

Ans.

Binary trees are hierarchical data structures composed of nodes, where each node has at most two children.

  • Consists of nodes with at most two children - left and right

  • Each node can have zero, one, or two children

  • Used in various applications like binary search trees, expression trees, etc.

Add your answer

More about working at SAP

Top Rated Large Company - 2024
Top Rated Internet/Product Company - 2024
HQ - Walldorf, Baden-Württemberg, Germany
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at null

based on 4 interviews in the last 1 year
Interview experience
4.5
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter