i
SAP
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Clear (1)
A min stack is a stack data structure that supports the usual push and pop operations, along with an additional operation to retrieve the minimum element in constant time.
Create a stack to store the elements and another stack to store the minimum values encountered so far.
When pushing an element, check if it is smaller than the current minimum. If so, push it onto the minimum stack.
When popping an element, check if it ...
I applied via LinkedIn and was interviewed in May 2024. There were 2 interview rounds.
Asked about introduction and then few coding questions
The output of the code will be the sum of the elements in the given array.
The code likely involves iterating through the array and adding up the elements.
Make sure to handle edge cases like empty arrays or arrays with negative numbers.
Example: If the array is [1, 2, 3], the output will be 6.
HashMap is a data structure in Java that stores key-value pairs. ConcurrentHashMap is a thread-safe version of HashMap.
HashMap is not thread-safe, while ConcurrentHashMap is thread-safe.
ConcurrentHashMap allows concurrent read and write operations without the need for external synchronization.
HashMap allows null keys and values, while ConcurrentHashMap does not allow null keys or values.
I applied via Campus Placement and was interviewed before Sep 2023. There were 3 interview rounds.
BST formation code in java
What people are saying about SAP
I applied via Naukri.com and was interviewed in Jul 2020. There were 4 interview rounds.
I applied via Campus Placement and was interviewed before Jun 2020. There were 3 interview rounds.
I applied via Company Website and was interviewed in Oct 2018. There was 0 interview round.
I applied via Naukri.com and was interviewed before Oct 2019. There were 3 interview rounds.
I applied via LinkedIn and was interviewed before Dec 2020. There was 1 interview round.
C++ is an extension of C with object-oriented programming features.
C++ supports object-oriented programming while C does not.
C++ has classes and templates while C does not.
C++ has better support for function overloading and default arguments.
C++ has a standard library that includes many useful functions.
C++ allows for both procedural and object-oriented programming.
C++ is generally considered to be a more complex langu
based on 4 interviews
Interview experience
based on 8 reviews
Rating in categories
Software Developer
1k
salaries
| ₹0 L/yr - ₹0 L/yr |
Developer
865
salaries
| ₹0 L/yr - ₹0 L/yr |
Developer Associate
823
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Developer
493
salaries
| ₹0 L/yr - ₹0 L/yr |
Business Process Consultant
422
salaries
| ₹0 L/yr - ₹0 L/yr |
Oracle
SAS
Zoho
IBM