constraint

do i need to put the constraints condition in my code, if not will it show wrong answer.

No, constraints are guaranteed to be met by the inputs provided.

no, you don’t need to put any condition for the constraints.

thanks!!!