How to analayz contrainant

i am new begineer in this help me

I am giving you link of two video by codedigger and aditya verma respectively you must watch that , so that your doubt get cleared