Deutsche Bank
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
pep8 is a style guide for Python code.
pep8 provides guidelines for formatting, naming, and organizing Python code.
It helps to improve code readability and maintainability.
Examples of guidelines include using 4 spaces for indentation, limiting line length to 79 characters, and using snake_case for variable names.
pep8 is not mandatory, but following its guidelines is considered good practice in the Python community.
Comment is for code readability, docstring is for documentation
Comments are used to explain code and make it more readable
Docstrings are used to document functions, classes, and modules
Comments start with #, docstrings are enclosed in triple quotes
Docstrings can be accessed using __doc__ attribute
I applied via Approached by Company and was interviewed before Nov 2021. There were 2 interview rounds.
What people are saying about Deutsche Bank
I was interviewed before Sep 2020.
Round duration - 90 minutes
Round difficulty - Medium
The coding round consisted of 3 coding questions. 1st question was of 20 marks, 2nd and 3rd of 50 marks.
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 ...
For making all elements equal you can select a target value and then you can make all elements equal to that. Now, for converting a single element to a target value you can perform a single operation only once. In this manner, you can achieve your task in the maximum of ‘N’ operations but you have to minimize this number of operations and for this, your selection of target is very important because if ...
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...
I first made an array in the main function that will contain the number of prime numbers less than or equal to the index value of the array and passed into my called function. This will give me the a value for each test case. Then, int the called function I applied dynamic programming. I created a dp array and initialized all values to max integer (dp[0] = 0). For each index i, i put dp[i+1] if (i=(r1/r2)) equal to min...
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 ...
As we only need the consecutive elements in the form ['NUM', 'NUM' + 1, 'NUM' + 2,...,'NUM' + 'L']. The brute force approach is to traverse each element in the array ('NUM' = ‘ARR[i]’) and then keep finding ('NUM' + 1) in the array until we don't find the next consecutive element in the array.
Keep a track of the current length of the sequence. If the current length of the consecutive subsequence is gre...
Round duration - 45 minutes
Round difficulty - Easy
Timing: 10:15 - 11:00 am.
The interview was online from home.
Round duration - 45 minutes
Round difficulty - Medium
Timing: 2:15 - 3:00 PM
The interview was online from home.
There were a few audio cuts in the video call but we were able to manage regardless.
Given a string STR
containing characters from [a-z], [A-Z], [0-9], and special characters, determine the reverse of the string.
The input starts with a single i...
He asked me to write a function to reverse a string of size n. In this question I defined my string ans="" , then iterated i from n-1 to 0 and concatenated Character.toString(s.charAt(i)) to my ans and then returned ans. He followed up the question. He said “If I remove ' ”="" ' in string ans line then what will happen. I answered that it will give me a compilation error that the variable "ans" is not initialized. Then...
Tip 1 : For OOPS, DS and programming, I recommend Codezen, Leetcode, InterviewBit and GeeksforGeeks.
Tip 2 : For OS, DBMS and Computer Network, I recommend GateSmasher, Knowledge Gate and TutorialsPoint.
Tip 3 : For SQL, I recommend W3Schools and GeeksforGeeks.
Tip 4 : Always maintain your cool during Interviews, and answer the questions calmly. If you get stuck in a problem, do not hesitate to ask for hints.
Tip 1: Mention only those projects and internships in your resume that you are comfortable with, that is, you can explain to the interviewee.
Tip 2: Mention only those skills/programming languages in your resume that you are comfortable with, that is, you have proper knowledge of as the interviewee can ask questions from those languages specifically.
Tip 3: Keep your data in your resume honest and accurate.
Deutsche Bank interview questions for popular designations
I was interviewed before Sep 2020.
Round duration - 90 Minutes
Round difficulty - Easy
6-7:30 pm
The webcam was on throughout the test.
Given an array/list ‘ARR’ of unknown size, sorted in ascending order with all distinct elements, and an element ‘TARGET’, find the position of 'TARGET' in t...
As we know, all elements of ‘ARR’ are different. So, we can simply iterate through the ‘ARR’, and if ‘readValueAtIndex(i)’ equal to the ‘TARGET’. Then we return this position. If while traversing through the ‘ARR’ if we reach at the end of the ‘ARR’ then return -1.
The steps are as follows:
Ninja wants to cross a field represented as a rectangular matrix of size M x N, containing landmines. A landmine gets triggered if a person is within one c...
Given an array ARR
consisting of N
integers, your goal is to determine the maximum possible sum of a non-empty contiguous subarray within this array.
We will iterate through all possible boundaries of the subarrays in the given array with the help of two nested loops.
Then, we will iterate through each subarray with the help of another loop and find the sum of the subarray. We will maintain the maximum subarray sum through our iterations and finally return it.
Space Complexity: O(1)Explanation:O(1), constant space is used.
Time Complexity: O(n^3...Round duration - 30 Minutes
Round difficulty - Easy
Morning(10 am)
The interviewer was friendly.
Given two linked lists representing two non-negative integers, where the digits are stored in reverse order (i.e., starting from the least significant digit to ...
Given a positive integer N
, your task is to identify all prime numbers less than or equal to N
.
A prime number is a natural number greater than 1 that has no po...
We use Brute Force to solve this problem.
Round duration - 60 Minutes
Round difficulty - Medium
Afternoon around 12 PM
If was from home
The interviewer was professional and did not waste any time.
Determine if a given singly linked list of integers forms a cycle or not.
A cycle in a linked list occurs when a node's next
points back to a previous node in the ...
We are going to have two loops outer-loop and inner-loop
Your task is to implement a Stack data structure using a Singly Linked List.
Create a class named Stack
which supports the following operations, each in O(1...
You have been provided an integer array/list ARR
of size N
. Here, N
is equivalent to 2M + 1
where each test case has M
numbers appearing twice and one number appearing exactly...
Round duration - 45 minutes
Round difficulty - Easy
They were calling it a pro-fitness round, it was to check if you are professionally fit to work in the company.
It was in the late afternoon around 3 PM
The interviewer was very friendly and engaging.
Round duration - 20 Minutes
Round difficulty - Easy
It was in the evening around 5 PM
The locations and work culture was discussed in that round
The interviewer was exhausted.
Tip 1 : If you have ample time then start competitive programming it will increase your speed of implementation and accuracy. I recommend codeforces.
Tip 2 : If your interviews are near, start solving standard coding problems from leetcode, Interview bit, and geeks for geeks.
Tip 3 : Try to do working projects, they make a great impact on the interviewer.
Tip 4 : Practice as many questions as you can. That way, you will not make any silly mistakes on the day of the interview.
Tip 5 : Go through the questions asked in the past years and the interview experiences.
Tip 1 : Try to add working projects in your resume, they attract the attention of interviewers.
Tip 2 : Add only those skills/programming language that you have worked with, not able to answer the questions asked on those skills/languages is the biggest embarrassment that can happen in an interview.
Tip 3 : Do not add unnecessarily styling to your resume, keep it simple and professional.
Get interview-ready with Top Deutsche Bank Interview Questions
I applied via Referral and was interviewed in Apr 2021. There were 3 interview rounds.
I applied via Recruitment Consultant and was interviewed in Mar 2021. There were 3 interview rounds.
I was interviewed before Feb 2021.
Round duration - 90 Minutes
Round difficulty - Medium
It started in the morning at 8 am. The window to start the round was of 15 mins
Given an 'M x N' matrix, print all the possible paths from the top-left corner to the bottom-right corner. You can only move either right (from (i,j) to (i,j+1)) or dow...
The basic idea to solve this problem is to use recursion. Recursively call function for next row ( row+1,col ) and next column ( row, col+1 ). If the row is equal to M-1 or the column is equal to N-1, then recursion is stopped.
Algorithm:
Given two strings, STR1
and STR2
, your task is to determine the length of their longest common substring.
A substring is defined as a sequence of characters tha...
The basic idea is to recursively try and match characters from ‘STR1’ to characters of ‘STR2’ and vice versa also.
The steps are as follows:
Round duration - 30 minutes
Round difficulty - Easy
The interview began around 3 pm. The interviewer was strict and directly started with the interview questions.
Tip 1 : A good ATS friendly resume
Tip 2 : For banks, prepare a bit for finances and economics as well. It helps while citing examples
Tip 3 : Prepare for DSA, DBMS and puzzles specifically.
Tip 1 : Provide metrics in resume. E.g. Improved deployment rate by 50%.
Tip 2 : A single-page resume is preferred
I was interviewed before Sep 2020.
Round duration - 90 minutes
Round difficulty - Medium
There were around 10 MCQS and 2 coding questions. The MCQs mainly had questions related to DBMS and OOPs. There were also questions related to error debugging and give the output of a segment of code. Questions in DBMS were related to SQL commands. The test duration was from 5:30 to 7 pm. There were 2 questions in the coding round. The first one was based on a matrix and the second was based on dynamic programming.
In this task, you're provided with a binary square matrix of size 'N * N' named MAT
. The task requires you to perform row and column flips whenever a zero (0) is encountered in...
I first applied brute force but the solution was exceeding the time limit so I looked for ways to avoid traversing every
row and column of the matrix. Take the input of the matrix and in a map stored the location of every 0 in the original matrix. Then I traversed through the matrix whenever I encountered a 0 I traversed through its row and column and counted the number of ones. I also marked the row and column visited ...
In this problem, you are given an array ARR
consisting of N
integers. Your task is to determine the minimum number of jumps required to reach the last index of the array N - 1
....
Round duration - 45 minutes
Round difficulty - Easy
It was an interview round that took place over skype and it lasted for about 45 minutes. My interviewer was polite and gave me time to think for a few answers and was patient when there were technical difficulties. I was also asked to share my screen and show the working code for a few of the questions asked in the interview. I used an online compiler to do so (onlinegdb). Overall the interview went pretty decent with a mix of easy and tough questions.
The diamond problem occurs when two superclasses of a class have a common base class. For example, in the following diagram, the TA class gets two copies of all attributes of Person class, this causes ambiguities.
Given an undirected graph with ‘V’ vertices (labeled 0, 1, ... , V-1) and ‘E’ edges, where each edge has a weight representing the distance between two connected nodes (X,...
I followed the same steps as given by the algorithm and also showed the output using some test cases.
You are given a sequence of numbers, ARR
. Your task is to return a sorted sequence of ARR
in non-descending order using the Merge Sort algorithm.
The Merge Sort...
I had gone through the topic of time complexities really well before the interview. Whenever you practice coding do look at the time complexities of various standard problems like merge sort or bubble sort and also know all the possible ways to do them. Do all the standard coding problems and know their optimized solutions under every topic. Make sure you know your projects thoroughly. Be confident and don't beat aroun
Round duration - 30 minutes
Round difficulty - Easy
This was a professional fitness round. It lasted for about 20-30 minutes. I was asked general questions about my future and career and the interviewer wanted to know what kind of a person I am and if I am fit for working in their company.
Round duration - 15 minutes
Round difficulty - Easy
This round was an HR round. Here I wasn't asked anything related to tech. Very general questions were asked and the purpose of this round was mainly to know if I had an aadhar card or had Indian citizenship or not or if have anyone related to me who was working in that company. Everyone who made it to this round was selected, this round wasn't to test your abilities but just to know if you can work in DB in India.
Tip 1 : Strengthen DSA skills initially, know the basics and understand the working of different data structures
Tip 2 : Learn to implement them and enhance your coding skills. Make mistakes and learn from them instead of just cramming everything before practicing.
Tip 3 : To enhance coding skills, try your best to crack a question instead of giving up and looking at the solution..this will improve your problem-solving skills.
Tip 4 : It's a must to do the standard coding questions under every category of data structure and algorithms
Tip 5 : To study the topics and practice coding questions refer to GeeksforGeeks and regularly take part in coding contests at CodeForces.
Tip 6 : Be thorough with OOPs and DBMS for interview
Tip 7 : Have at least 2 projects in your resume and make sure you can answer the questions related to them.
Tip 1 : Make sure your resume fits everything into a single page.
Tip 2 : Have at least 2 projects on your resume.
Tip 3 : Mention only those technical skills that you are confident in.
Tip 4 : Include an objective in your resume.
Interview experience
based on 3.3k reviews
Rating in categories
Associate
4.8k
salaries
| ₹8.8 L/yr - ₹34 L/yr |
Senior Analyst
3.9k
salaries
| ₹4 L/yr - ₹16.7 L/yr |
Assistant Vice President
3.4k
salaries
| ₹16 L/yr - ₹48.5 L/yr |
Analyst
2.1k
salaries
| ₹2 L/yr - ₹11 L/yr |
Financial Analyst
1k
salaries
| ₹1.8 L/yr - ₹8.2 L/yr |
Barclays
JPMorgan Chase & Co.
HDFC Bank
ICICI Bank