Katkat
Online Assessment

Online Assessment on Recoverable Elements from Range-Sum Queries

EthosSoftware Engineer · Online Assessment · Aug 2026

Recoverable Elements from Range-Sum Queries You are given an unknown integer array A of length N, with elements indexed from 1 to N. You will receive Q range-sum queries. Each query contains two integers L and R, and gives you the sum of all elements of A from index L to index R. Your task is to use the given query information to find all the elements A[i] whose exact value can be uniquely determ…

Shared by a candidate · reported Aug 2026. Interview formats change; use it as a guide, not a script.