2020年5月30日

摘要: 由于没时间参加 这里说下思路 1 通过翻转子数组使两个数组相等 比较两个数组是否能够通过转换子数组获得 其实就是比对里面的元素是否相同 排序并比较就好了 class Solution { public: bool canBeEqual(vector<int>& target, vector<int> 阅读全文
posted @ 2020-05-30 22:59 itdef 阅读(207) 评论(0) 推荐(0)

导航