โ† HSBC questions
CodingEasy

Sum of numbers in a range (Arithmetic Progression)

Filed under HSBC

Given two integers A and B representing a range, find the sum of all integers from A to B inclusive using the arithmetic progression formula.

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.