InterviewLegend

Sorting & Partitioning on Paper

Alex Chen45 min readGuide updated

From 2020 to 2024, a Deutsche Bank coding round had a fair chance of including a sort. A Premium question was asked five times between August 2020 and July 2024, more than any other algorithm in the live rounds. Quicksort came up in 2020 and 2023, and a Premium question in 2024. Most of these were campus drives in India, for Graduate Analyst and TDI intern roles.

The algorithms are textbook. What makes them harder here is that the code often goes on paper, and that hasn't changed. A 2026 apprenticeship interview in Pune was pen and paper too. Partitioning questions sit right next to the sorts, and quicksort's partition step is the one to know cold.

The Deutsche Bank angle
Expect to defend every line. A 2021 interviewer had a candidate dictate their paper code, then read the sheet line by line and asked for each line to be explained. Write code you can walk through out loud, with names that say what they hold.

Deutsche BankPremium lesson · Coding round

The 3 Deutsche Bank problems are below.

  1. A Premium questionCoding · Medium · Frequently asked
  2. A Premium questionCoding · Medium
  3. A Premium questionCoding · Medium

Each with hints, the follow-up and a tested solution.

Get the Deutsche Bank questions

$49 a year · all 107 companies · instant access

20,000+ candidate reports

Deutsche Bank interview guide

Know what Deutsche Bank asks before you walk in.

28 coding · 5 system design · 29 behavioral questions

Get Premium$49 a year · Instant access
Or start freeNo card.

Get their questions first.

Had your Deutsche Bank interview?How we research

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.