
Deutsche Bank


Deutsche Bank Software Developer Interview Questions and Answers
Q1. Avoiding Traps Problem Statement
Given an array of obstacles' coordinates, determine the minimal jump length to reach beyond all obstacles starting from coordinate 0 while avoiding landing on any obstacle.
Inpu...read more
Find the minimal jump length to bypass all obstacles while avoiding landing on any obstacle.
Iterate through the obstacle coordinates to find the maximum coordinate.
Calculate the minimum jump length needed to bypass all obstacles.
Ensure the jump length consistently avoids all obstacle points.
The final jump can overshoot the line's end point.
Q2. Minimum Number of Operations Problem Statement
Given an array 'ARR' consisting of 'N' positive integers, determine the minimum number of operations needed to make all elements of the array equal. You may use ad...read more
Determine minimum operations to make all array elements equal using addition, subtraction, multiplication, or division.
Iterate through array to find the minimum and maximum values
Calculate the difference between the maximum and minimum values
Return the difference as the minimum number of operations needed
Q3. Longest Consecutive Sequence Problem Statement
You are given an unsorted array/list ‘ARR’ of ‘N’ integers. Your task is to return the length of the longest consecutive sequence.
The consecutive sequence is of t...read more
Find the length of the longest consecutive sequence in an unsorted array of integers.
Sort the array to make it easier to identify consecutive sequences.
Use a set to store unique elements and check for consecutive numbers.
Track the length of consecutive sequences and update the maximum length found.
Handle duplicates by counting only one occurrence in the consecutive sequence.
Q4. Reverse a String Problem Statement
Given a string STR
containing characters from [a-z], [A-Z], [0-9], and special characters, determine the reverse of the string.
Input:
The input starts with a single integer '...read more
Reverse a given string containing characters from [a-z], [A-Z], [0-9], and special characters.
Iterate through the characters of the string in reverse order and append them to a new string.
Use built-in functions like reverse() or StringBuilder in languages like Python or Java for efficient reversal.
Handle special characters and numbers along with alphabets while reversing the string.
Ensure to print each reversed string on a separate line as per the output format.
Q5. Coding challenge in java 8
Implement a coding challenge in Java 8
Use lambda expressions and functional interfaces to write concise and readable code
Utilize streams to process collections efficiently
Leverage method references for cleaner code
Q6. Objects in java 8
Java 8 introduced the concept of functional programming with the addition of lambda expressions and streams.
Lambda expressions allow for concise code and easier parallel programming.
Streams provide a way to work with collections of objects in a functional style.
Functional interfaces like Predicate, Function, and Consumer are commonly used with lambda expressions.
More about working at Deutsche Bank




Interview Process at Deutsche Bank Software Developer

Top Software Developer Interview Questions from Similar Companies








Reviews
Interviews
Salaries
Users/Month

