Many questions contain a condition similar to this:
Sum of N doesn’t exceed 10^5 for all test cases.
I can never understand the significance of this line, is there any kind of optimization/catch that the author is usually suggesting here most of the times? Can anyone explain the significance of such a condition in a question? Preferably with an example problem would be better.