โ† BNY Mellon questions
CodingReported in a candidate post, Aug 2023

Potential Attack Vector

Filed under BNY Mellon

Given an array of keys and multiple queries, find the number of trios (i, j, x) such that keys[i] and keys[j] are both divisible by x, where x is within a query range [L, R].

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 BNY Mellon questions

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