Learning course: Beginner DSA in C++
Problem Link: CodeChef: Practical coding for everyone
Feedback
This problem doesn’t seem correct to me can you please check it? The example test case from 10 to 20 seems wrong, it says that we can only ever add 2 when the number is even (which 10 is), but it starts off by adding 1. Also, in the solution, “YES” is printed, if the absolute difference of the numbers is divisible by 3, but if we take 2 and 5, we would never get to 5, as we always only add 2 when starting with an even number.