Hi,
Since I cannot point out the question from the Official Guide that I have a question on and the explanation provided in the OG archer, I hope I can ask this question so it is generic.
If I am asked to count the number of integers between two integers (first and last not included) in a DS question, how can I come to a conclusion that they are consecutive integers. For example:
If my set is {1,2,3,4,5,6,7,8,9,10}, then last-first = 9 - 1 = 8 is the number of integers.
But, if my set is {11,13,46,34}, then last-first = 23 - 1 = 22 is NOT the number of integers.
Can someone please help? The OG archer says "If we know the values of r and s, we can calculate the number of integers between them. This WILL form a consecutive integers set" How?