You are viewing a single comment's thread. Return to all comments →
You should not worry about these things if you are a beginner,but since you have asked i have explained it here, take a look.
In the beginning your focus should be to complete the task without worrying about these time/space complexities.
My pleasure :)