← Deutsche Bank questions

Minimum grid size for values 1 to N at distance K

Filed under Deutsche Bank

Find the minimum grid size (S x S) required to place N distinct values such that the Manhattan distance between any two values is at least K.

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.