Accordian, Recently Asked Online Assessments in 10 Nov, 2025 | Smallest Divisible Number

Question · Posted Apr 2026

Question 1: Smallest Divisible Number Problem Statement: Given two integers X and Y, find the smallest number which has X as the leading digit(s) and is divisible by Y. Read the input from STDIN and print the output to STDOUT. Do not write arbitrary strings anywhere in the program, as these contribute to the standard output and test cases will fail. Constraints: X, Y >= 1 Input Format: The input contains X and Y separated by a single white space. ...

The full answer & interview discussion are available to premium members.

Log in Create a free account