I don’t understand the hint video and the approach to this question
Find It ( number theory )
@shivanshu12800 since for every query array will be fixed so precompute multiples for every possible value of k and just print it while querieng
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.