摘要: 算法标签 贪心 题目描述 思路 使得b经过翻转可以等于a 那我们排序即可,数据范围也不大 AC代码 class Solution { public: bool canBeEqual(vector<int>& target, vector<int>& arr) { sort(target.begin( 阅读全文
posted @ 2022-08-24 09:43 俺叫西西弗斯 阅读(0) 评论(0) 推荐(0)
点击右上角即可分享
微信分享提示