Date:2020/4/14

  1. 题目:https://leetcode-cn.com/problems/add-two-numbers-ii/                           tip:利用栈模拟从后往前操作
  2. 题目:https://leetcode-cn.com/problems/sort-the-matrix-diagonally/                     tip:   对角线遍历,然后利用set插入自动排序。则获取迭代器所指向的key是有序的。
  3. 题目:https://leetcode-cn.com/problems/sort-integers-by-the-power-value/         tip: 也是利用map中内部key是自动排序,所以依次遍历到对应位置即可(一定要清楚审题)

 

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。