cool037

导航

2025年3月28日 #

刷题中遇到的常用函数/方法

摘要: 整数最大值 int result = Integer.MAX_VALUE; 求两个数中的最值(java.lang.Math) result = Math.min(a,b); result = Math.max(a,b); 最小覆盖子串(学完哈希表再来做) 求两个数的绝对值 Math.abs 字符数组 阅读全文

posted @ 2025-03-28 20:12 海然 阅读(13) 评论(0) 推荐(0)