leetcode oj1

新get

1、java异常处理  ppt:https://wenku.baidu.com/view/c29c06c489eb172ded63b7bf.html?from=search


throw new IllegalArgumentException("No two sum solution");


中文:https://leetcode-cn.com/problems/two-sum/solution/

英文:https://leetcode.com/problems/two-sum/description/


2、java数组定义

int【】 nums

return new int[] {i,j}

你可能感兴趣的:(学习笔记,java,leetcode)