UST Online Assessment | Corporate Registry Audit & Cloud Network Load Peak Finder
Question · Posted Jun 2026
Problem 1 - Corporate Registry Audit Problem Statement You are working on a data synchronization tool for an enterprise identity platform. The system receives an integer array registryIDs of size N and an integer targetDiff. Your task is to find the total number of distinct pairs such that the absolute difference between their values is exactly equal to targetDiff. Formally, count pairs (i, j) where: |registryIDs[i] - registryIDs[j]| = targetDiff All elements in the array are unique. Constraints Constraint 1 ...
The full answer & interview discussion are available to premium members.
Log in Create a free account