posted @ 2023-04-26 13:52
04 2023 档案
摘要:1.数组求最大值最小值 Math.min(...list); Math.max(...list); 还有种方法 1 Math.min.apply(null,arr); 2 Math.max.apply(null,arr); https://www.cnblogs.com/snowbxb/p/1139
阅读全文
摘要:补 https://blog.csdn.net/weixin_53029342/article/details/125668555
阅读全文
posted @ 2023-04-20 16:13
摘要:补 1.视野总和 739.每日温度 package monotoneStack; import org.junit.Test; import java.util.Stack; /** * @description: * @author: weitao_wang * @date: 2023/4/20
阅读全文
posted @ 2023-04-10 17:27
摘要:https://blog.csdn.net/abaidaye/article/details/123446380 延伸: **TopK问题** https://blog.csdn.net/m0_38089031/article/details/108111231
阅读全文
posted @ 2023-04-10 16:43
摘要:一般解法,面试必踢 class MedianFinder { /** initialize your data structure here. */ List<Integer> list; public MedianFinder() { list = new ArrayList<>(); } pub
阅读全文
posted @ 2023-04-10 16:24
浙公网安备 33010602011771号