← Deutsche Bank questions
CodingMediumReported in a candidate post, Aug 2021

Maximum perimeter sum of rectangles from stick lengths and quantities

Filed under Deutsche Bank

Given two arrays representing stick lengths and their quantities, form rectangles using the available sticks to maximize the sum of their perimeters. Each stick can be used at most once as a side.

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.