i
SAP
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
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
I appeared for an interview in Feb 2017.
I appeared for an interview before May 2016.
based on 4 interviews
Interview experience
based on 18 reviews
Rating in categories
Software Developer
1.2k
salaries
| ₹8 L/yr - ₹32.1 L/yr |
Developer
864
salaries
| ₹10.2 L/yr - ₹34 L/yr |
Developer Associate
847
salaries
| ₹7.8 L/yr - ₹20.6 L/yr |
Senior Developer
535
salaries
| ₹16 L/yr - ₹50 L/yr |
Business Process Consultant
433
salaries
| ₹10 L/yr - ₹40 L/yr |
Oracle
SAS
Zoho
IBM