Question
'N' is the largest three-digit number which leaves 5 as a
remainder when divided by 6, 9, and 15. What is the smallest number that needs to be added to 'N' to make it a perfect square?Solution
ATQ,
LCM (6, 9, 15) = 90
90 × 10 = 900
N = 900 + 5 = 905
Next perfect square = 31² = 961
Required number = 961 - 905 = 56
Predict the correct output

In red-black tree, if the parent node is red, colour of child nodes will be?
In tuple calculus, what does the ∃ symbol represent?
What is the purpose of the "self" parameter in a Python class method?
In dynamic programming, what is memoization?
In the context of ADTs, what does "encapsulation" refer to?
What does the "Model" represent in the MVC architecture?
What is the port number for HTTPS?
What this code line say?
int (*p )(char *a)Â Â Â Â Â Â Â Â Â
Which machine learning models are trained to make aseries of decisions based on the rewards and feedback they receive for their actions