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

Store a family matrix as a generic tree

Filed under Deutsche Bank

A matrix lists family members row-wise: each row holds a parent followed by that parent's children. Choose a suitable data structure and write code to read the matrix into it, preserving the…

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.