一二三四五 上山打老虎

摘要: 题目链接:https://leetcode.cn/problems/next-permutation/ 变式题目链接:https://leetcode.cn/problems/next-greater-element-iii/ 思路一:查找当前数值的下一个排序,相当于从个位起找到一个高位数值大于低位 阅读全文
posted @ 2022-07-04 07:13 黒川川 阅读(32) 评论(0) 推荐(0)