会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
kqdxhklm
博客园
首页
新随笔
联系
订阅
管理
2024年3月22日
两数之和详细解答
摘要: class Solution { public int[] twoSum(int[] nums, int target) { //我们要找到2个数之和等于target //即我们需要找到nums[i] + nums[j] == target,并且返回他们的下标(i和j),其中i != j int[]
阅读全文
posted @ 2024-03-22 08:03 淼and
阅读(69)
评论(0)
推荐(0)
2024年3月21日
两数相加详细解说
摘要: Definition for singly-linked list. public class ListNode { int val; ListNode next; ListNode(){} ListNode(int val) {this.val = val;} ListNode(int val,
阅读全文
posted @ 2024-03-21 21:13 淼and
阅读(104)
评论(0)
推荐(0)
公告