Introduction to Competitive Programming | Time and Space Complexity