摘要:        
import java.util.*; public class Solution { /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param height int整型一维数组 * @return int整型 */ public int max    阅读全文
posted @ 2022-11-13 17:49
northli
阅读(20)
评论(0)
推荐(0)
        
            
        
        
摘要:        
最长无重复子数组 import java.util.*; public class Solution { /** * * @param arr int整型一维数组 the array * @return int整型 */ public int maxLength (int[] arr) { // w    阅读全文
posted @ 2022-11-13 11:47
northli
阅读(104)
评论(0)
推荐(0)
        
            
        
        
摘要:        
一、字符串 字符串charAt,indexOf,startsWith,endsWith,matches,split String[] arr = str.split(","); 二、数组 Integer[] arr = {1,3,5,2,4,6}; //默认升序 Arrays.sort(arr);     阅读全文
posted @ 2022-11-13 10:14
northli
阅读(16)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号