Add office photos
Employer?
Claim Account for FREE

Deutsche Bank

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

Interview Questions and Answers

Updated 20 May 2024
Popular Designations

Q1. Find the two index in an array whose sum is closest to 0.

Ans.

Find two indices in an array whose sum is closest to 0.

  • Sort the array to simplify the process.

  • Use two pointers approach starting from both ends towards the middle.

  • Keep track of the closest sum found so far.

Add your answer

Q2. What design patterns you have implemented

Ans.

I have implemented various design patterns such as Singleton, Factory, Observer, and Strategy.

  • Implemented Singleton pattern to ensure only one instance of a class exists

  • Utilized Factory pattern to create objects without specifying the exact class

  • Implemented Observer pattern for event handling and notification

  • Utilized Strategy pattern to define a family of algorithms and make them interchangeable

Add your answer

Q3. Find 1st non repeatable sequence from a string using Java 8

Ans.

Find the first non-repeating character in a string using Java 8.

  • Use Java 8 streams to convert the string to a character array.

  • Use Collectors.groupingBy to group the characters by count.

  • Filter out characters with count > 1 and find the first character with count 1.

Add your answer

Q4. What is the difference between pod and deployment

Ans.

Pod is the smallest deployable unit in Kubernetes, while deployment manages a set of identical pods.

  • Pod is a single instance of a running container in Kubernetes

  • Deployment manages a set of identical pods, ensuring they are always running and available

  • Pods can be created directly, but deployments are typically used for managing pods in production environments

Add your answer
Discover null interview dos and don'ts from real experiences

Q5. How Nodejs works and handle asynchronous

Ans.

Node.js is a runtime environment that uses event-driven, non-blocking I/O model to handle asynchronous operations.

  • Node.js uses event loop to handle asynchronous operations efficiently.

  • It allows multiple I/O operations to be processed concurrently without blocking the execution.

  • Node.js uses callbacks, promises, and async/await to manage asynchronous code.

  • Example: Reading a file asynchronously using fs module in Node.js.

Add your answer

Q6. What is an Event loop, how it works

Ans.

An event loop is a programming construct that waits for and dispatches events or messages in a program.

  • Event loop is commonly used in asynchronous programming to handle multiple tasks concurrently.

  • It continuously checks for events in a queue and executes them one by one.

  • Event loop helps in preventing blocking of the main thread by allowing non-blocking operations to run in the background.

  • Example: Node.js uses an event loop to handle asynchronous operations efficiently.

Add your answer

Q7. What is resilience in microservices

Ans.

Resilience in microservices refers to the ability of a system to recover from failures and continue functioning.

  • Resilience in microservices involves designing systems that can handle failures gracefully without impacting the overall functionality.

  • This can be achieved through techniques such as circuit breakers, retries, timeouts, and fallback mechanisms.

  • Resilience also includes monitoring and alerting to quickly identify and respond to failures in the system.

  • Examples of resil...read more

Add your answer

Q8. Do programs of Data structures

Ans.

Yes, programs of Data structures are essential for efficient data management and algorithm development.

  • Data structures are used to organize and store data in a way that enables efficient access and modification.

  • Programs of Data structures help in developing algorithms that can manipulate data effectively.

  • Examples of data structures include arrays, linked lists, stacks, queues, trees, and graphs.

Add your answer

Q9. Write code for lift operation

Ans.

Code for lift operation

  • Define the lift class with attributes such as current floor, destination floor, direction, etc.

  • Implement methods for moving the lift up or down, stopping at floors, and opening/closing doors.

  • Use appropriate data structures such as queues to manage lift requests and floor stops.

Add your answer
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
1 Interview rounds
Technical Round
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