1. 问题 2. 解析 3. 设计 4. 分析 时间复杂度:O(n) 5. 源码 https://github.com/dickdan/10.1-compatible-problem-/blob/master/10.1.cpp