1. 时空复杂度 (Time & Space Complexity) 在算法竞赛中,时空复杂度是衡量算法性能的重要指标,通常我们更侧重时间复杂度。 1.1. 概述 时间复杂度 (Time Complexity)