About adding constraints

how to add constraints to your program

constraints given in problem statement are there for you to know about input behaviour, so that you can decide your approach which has minimum time complexity.
It means when you submit your program, the inputs given to your program will be under those constraints.
Thanks

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.