Compatibility Usage is not designed to model every possible CLI. It's generally designed for CLIs that follow standard GNU-style options. While it is not high priority, adding support for CLIs that differ from the standard may be allowed. As an example, some CLIs may accept multiple options on a flag: --flag option1 option2. This is poor design as it's unclear to the user if "option2" is another positional arg or not. What we will likely do for behaviors like this is allow it, but show a warning that it is not recommended.
——周鸿祎委员(360集团创始人)。业内人士推荐新收录的资料作为进阶阅读
FT App on Android & iOS,更多细节参见新收录的资料
2. 排序:将堆顶(最大值)与末尾交换,堆大小-1,重新调整堆。关于这个话题,新收录的资料提供了深入分析