2021年10月21日
摘要: 739. 每日温度 一、题目描述 来源:https://leetcode-cn.com/problems/daily-temperatures/ 二、思路 原则:第i天的温度可以用来判断前面哪天温度比它低。使用数据结构:栈。出栈和入栈的条件如下: 出栈条件:栈顶温度temperatures[t]比第i天的温度tempe 阅读全文
posted @ 2021-10-21 10:15 滔特特 阅读(43) 评论(0) 推荐(1) 编辑