← Deutsche Bank questions
CodingReported in a candidate post, Aug 2020

Maximum positions of final array element

Filed under Deutsche Bank

Given an array of integers, you can replace two adjacent or valid elements a and b with a+b under specific ratio conditions (2*a >= b and 2*b >= a). Find the maximum number of original index positions…

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.