โ† Infosys questions
CodingMediumReported in a candidate post, Dec 2020

Calculate sum of Ai/Aj for an Array

Filed under Infosys

Given an array A of N numbers, calculate the sum of A[i] / A[j] for all possible pairs (i, j) where 0 <= i, j < 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 Infosys questions

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