No, you don’t need to check whether any assumptions given in the task are true.
If we say, for example, that N is a positive integer, your code does not need to verify that it really is.
No, you don’t need to check whether any assumptions given in the task are true.
If we say, for example, that N is a positive integer, your code does not need to verify that it really is.