โ† HSBC questions

Find divisors of N in a given range

Filed under HSBC

Given an integer N and a range [L, R], find all numbers within that range that are divisors of N. Optimize the solution to handle large values of N.

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 HSBC questions

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