Deutsche Bank
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
I applied via Naukri.com and was interviewed in Mar 2024. There was 1 interview round.
A hashcode method generates a unique integer value for an object based on its properties.
Override the hashCode() method in Java to generate a unique integer value for an object.
Use the properties of the object to calculate the hash code.
Ensure that equal objects have the same hash code.
Sample code to settle accounts of 4 persons after a trip
Create a Person class with attributes like name, spentAmount, and remainingAmount
Calculate the total spent amount by all persons
Distribute the total spent amount equally among all persons to settle the accounts
This was a java code interview
What people are saying about Deutsche Bank
posted on 29 Jul 2024
posted on 29 Jul 2024
Immutable class is a class whose state cannot be modified after creation.
Make all fields private and final
Do not provide setter methods
Ensure that any mutable objects within the class are also immutable
Lock and sync are both mechanisms used in Java for thread synchronization, but they have different implementations and use cases.
Lock is a low-level synchronization mechanism provided by the java.util.concurrent.locks package, while sync (synchronized keyword) is a high-level synchronization mechanism provided by Java.
Lock provides more flexibility and control over synchronization compared to sync.
Lock can be used to c...
I applied via LinkedIn and was interviewed in Jan 2024. There were 2 interview rounds.
Print Dice combination based on the rolled output
Trapping rain water and median of two sorted array
I was interviewed in Sep 2024.
HashMap is non-synchronized and allows null values, while HashTable is synchronized and does not allow null values.
HashMap is non-synchronized, meaning it is not thread-safe, while HashTable is synchronized and thread-safe.
HashMap allows null values for both keys and values, while HashTable does not allow null keys or values.
HashMap is generally preferred for non-thread-safe applications, while HashTable is used in mul
Equals method is used to compare the content of objects while hashcode method is used to generate a unique integer value for an object.
Equals method is used to compare the content of objects for equality.
Hashcode method is used to generate a unique integer value for an object.
Both methods are important for implementing proper object comparison and hashing in Java.
I am motivated to come to the office by the opportunity to work on challenging projects, collaborate with talented colleagues, and contribute to the success of the team.
Challenging projects provide a sense of accomplishment and growth
Collaborating with talented colleagues allows for learning and innovation
Contributing to the success of the team fosters a sense of purpose and fulfillment
Yes, I coached a junior developer on implementing design patterns in a project.
Provided guidance on how to apply design patterns in code
Reviewed their code and provided feedback for improvement
Encouraged them to ask questions and seek clarification
Node.js uses event-driven architecture where events trigger callbacks to handle asynchronous operations.
Node.js uses event loop to handle asynchronous operations efficiently
Events are emitted by various objects in Node.js like HTTP servers, file system, etc.
Callbacks are registered to handle events and execute code when events occur
Encapsulation is the concept of bundling data and methods that operate on the data into a single unit.
Encapsulation helps in hiding the internal state of an object and only exposing necessary functionalities.
It allows for better control over the data by preventing direct access from outside the class.
Encapsulation also helps in achieving data abstraction and information hiding.
Example: In a class representing a car, th...
To call a REST API, you can use tools like Postman or code in languages like JavaScript or Python.
Use tools like Postman to make HTTP requests to the API endpoints
In programming languages like JavaScript, use libraries like Axios or Fetch to make API calls
Include necessary headers, parameters, and authentication tokens in the request
Handle the response data accordingly, whether it's JSON, XML, or other formats
1 Interview rounds
Associate
4.7k
salaries
| ₹8.8 L/yr - ₹34 L/yr |
Senior Analyst
3.9k
salaries
| ₹3.9 L/yr - ₹16.5 L/yr |
Assistant Vice President
3.4k
salaries
| ₹15.8 L/yr - ₹48.5 L/yr |
Analyst
2.1k
salaries
| ₹2 L/yr - ₹11 L/yr |
Financial Analyst
1k
salaries
| ₹1.7 L/yr - ₹10.2 L/yr |
Barclays
JPMorgan Chase & Co.
HDFC Bank
ICICI Bank