28 problems · 8 Easy, 13 Medium, 7 Hard · Ranked #69 of 458
Difficulty breakdown
8 Easy
29% · avg 23%
13 Medium
46% · avg 59%
7 Hard
25% · avg 18%
Top topics
array
89.3%1.5x
sorting
32.1%2.2x
greedy
25%3x
binary-search
17.9%2x
string
14.3%
dynamic-programming
14.3%
Interview profile
Based on 28 reported problems, Deutsche Bank interviews are slightly harder than average - 25% Hard vs 18% across all companies.
Compared to the industry average, Deutsche Bank puts unusual emphasis on prefix-sum (10.7% of problems, 3.2x the industry average), greedy (25% of problems, 3x the industry average), sliding-window (14.3% of problems, 3x the industry average). If you're short on time, these are the categories to double down on.
The most common topics are array (89.3%), sorting (32.1%), greedy (25%), binary-search (17.9%). Problems below are sorted by frequency, the ones at the top are asked most often.
All 28 problems
Problem
Difficulty
Frequency
Topics
Smallest K-Length Subsequence With Occurrences of a Letter
You are given a string s, an integer k, a letter letter, and an integer repetition.
There exists an undirected tree with n nodes numbered 0 to n - 1. You are given a 0-indexed 2D integer array edges of length n - 1, where edges[i] = [ui, vi] in...
You have n computers. You are given the integer n and a 0-indexed integer array batteries where the ith battery can run a computer for batteries[i] minutes. You...
There is a network of n servers, labeled from 0 to n - 1. You are given a 2D integer array edges, where edges[i] = [ui, vi] indicates there is a message channel...
You are given an array people where people[i] is the weight of the ith person, and an infinite number of boats where each boat can carry a maximum weight of lim...
You are given a 0-indexed integer array nums of size n representing the cost of collecting different chocolates. The cost of collecting the chocolate at the ind...
We are given an array asteroids of integers representing asteroids in a row. The indices of the asteroid in the array represent their relative position in space...
Fruits are available at some positions on an infinite x-axis. You are given a 2D integer array fruits where fruits[i] = [positioni, amounti] depicts amounti fru...
Given a string queryIP, return "IPv4" if IP is a valid IPv4 address, "IPv6" if IP is a valid IPv6 address or "Neither" if IP is not a correct IP of any type.
You are visiting a farm that has a single row of fruit trees arranged from left to right. The trees are represented by an integer array fruits where fruits[i] i...
There exists an undirected tree with n nodes numbered 0 to n - 1. You are given a 0-indexed 2D integer array edges of length n - 1, where edges[i] = [ui, vi] in...
You have n computers. You are given the integer n and a 0-indexed integer array batteries where the ith battery can run a computer for batteries[i] minutes. You...
There is a network of n servers, labeled from 0 to n - 1. You are given a 2D integer array edges, where edges[i] = [ui, vi] indicates there is a message channel...
You are given an array people where people[i] is the weight of the ith person, and an infinite number of boats where each boat can carry a maximum weight of lim...
You are given a 0-indexed integer array nums of size n representing the cost of collecting different chocolates. The cost of collecting the chocolate at the ind...
We are given an array asteroids of integers representing asteroids in a row. The indices of the asteroid in the array represent their relative position in space...
Fruits are available at some positions on an infinite x-axis. You are given a 2D integer array fruits where fruits[i] = [positioni, amounti] depicts amounti fru...
Given a string queryIP, return "IPv4" if IP is a valid IPv4 address, "IPv6" if IP is a valid IPv6 address or "Neither" if IP is not a correct IP of any type.
You are visiting a farm that has a single row of fruit trees arranged from left to right. The trees are represented by an integer array fruits where fruits[i] i...
Given an m x n matrix, return all elements of the matrix in spiral order.
MediumLikely
arraymatrixsimulation
How often are these problems asked?
Frequency scores are based on crowdsourced interview reports. A higher score means the problem has been reported more often in recent Deutsche Bank interviews.
Very Likely
75-100%
Likely
50-74%
Sometimes
25-49%
Rare
0-24%
Preparing for your Deutsche Bank coding interview
Deutsche Bank interviews focus heavily on array, sorting, greedy problems. If you're short on time, these are the categories to prioritize. The problems on this page are sorted by frequency, so start from the top and work your way down.
Beyond solving problems, practice explaining your approach. Deutsche Bank interviewers care about your thought process - how you break down a problem, consider edge cases, and evaluate tradeoffs between solutions. A clean O(n) solution you can explain clearly beats an O(log n) solution you can't articulate.
What coding problems does Deutsche Bank ask in interviews?add
Deutsche Bank has been reported to ask 28 distinct coding problems. The most common topics are array, sorting, greedy. 8 are Easy difficulty, 13 are Medium, and 7 are Hard. Problems are sorted by frequency - the ones at the top are asked most often.
How hard are Deutsche Bank coding interviews?add
Based on 28 reported problems, Deutsche Bank interviews are slightly harder than average - 25% Hard vs 18% across all companies. 46% of questions are Medium difficulty. Focus on the high-frequency Medium problems first, then work through the Hard ones.
How should I prepare for a Deutsche Bank coding interview?add
Start with the highest-frequency problems listed on this page. Focus on the core topics: array, sorting, greedy. Practice solving them under time pressure and explaining your approach out loud. Mock interviews with AI can simulate the real experience.
Simulate a real Deutsche Bank coding interview with an AI interviewer. Get a scorecard with specific feedback on your problem-solving, code quality, and communication.