摘要:
#题目说明 ##题干 ##测试数据 1 ###输入样例 failure is probably the fortification in your pole it is like a peek your wallet as the thief when you are thinking how to 阅读全文
摘要:
#对象排序 例如我已经有如下的 Person 类,该类具有 name 和 age 2 个属性,现在我们需要对存放 Person 类的数组或集合进行排序。此时有很多的排序策略,例如对 age 按升序或降序排序,或堆 name 按字典序排序,也可以先按 age 进行排序后对 age 属性相同的对象按 n 阅读全文