← Deutsche Bank questions
CodingReported in a candidate post, Jul 2025

Two Sum and then 3-sum

Filed under Deutsche Bank

Given an array and a target sum, first return the indices of two elements that add up to the target (Two Sum). Then extend it to three elements: return all unique triplets that sum to the target.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Deutsche Bank questions

Collected from public candidate posts and coding forums. Updated Nov 2026.