I’m trying to solve MODULAR EQUATION question that came in may long challenge 2021 (now moved to Practice section)
My code is failing for subtask #1 itself, but I’m not able to figure out why its failing,
is there any way i see the expected output vs my output or something like that?
I have stumbled upon this logic while searching for a solution, and I have seen that many people have used the same logic, is it a popular algorithm. Can anyone please explain?