Cisco, Recently Asked Online Assessments in 21 Aug, 2025 | Minimize Number Difference
Cisco · Question · Posted Apr 2026
Minimize Number Difference Problem Statement: In this task you are given two strings of digits that represent (possibly very large) integers. Your goal is to make those numbers as close to one another as possible. In other words, you want to minimize the absolute value of their difference. You can swap some of the corresponding digits (e.g. the first digit of the first number with the first digit of the second number, the second digit of the first number with ...
The full answer & interview discussion are available to premium members.
Log in Create a free account