ByteDance | Singapore | SDE Intern | Freshers | 2nd October 2021 singapore sde1 bytedance
ByteDance · Question · Posted Oct 2021
Find the total number of all ideal numbers in the given range [low, high]. An integer is considered as an idealnumber if it can be expressed in the form of 3ª * 5b, where both a and b are natural numbers. For example: when low = 10 and high where a = b = 1 20, the output should be when low 1 and high 1, the output should be 1 where .a = b=0 Note: 1. the given ...
The full answer & interview discussion are available to premium members.
Log in Create a free account