首页
AI Coding
沸点
课程
直播
活动
APP
插件
搜索历史
清空
创作者中心
写文章
发沸点
写笔记
写代码
草稿箱
创作灵感
查看更多
登录
注册
fisherl
掘友等级
获得徽章 0
动态
文章
专栏
沸点
收藏集
关注
作品
赞
74
文章 74
沸点 0
赞
74
返回
|
搜索文章
最新
热门
相交链表
上代码 func getIntersectionNode(_ headA: ListNode?, _ headB: ListNode?) -> ListNode? { if headA ==
环形链表
上代码 func hasCycle(_ head: ListNode?) -> Bool { var slowNode = head var fastNode = head?.next
只出现一次的数字
上代码 func singleNumber(_ nums: [Int]) -> Int { var num = 0 for number in nums { num =
买卖股票的最佳时机
上代码 func maxProfit(_ prices: [Int]) -> Int { var minPrice = Int.max var maxProfit = 0 fo
二叉树的最大深度
上代码 func maxDepth(_ root: TreeNode?) -> Int { if root == nil { return 0 } return m
对称二叉树
上代码 func isSymmetric(_ root: TreeNode?) -> Bool { return isMirr(node1: root, node2: root) } func
二叉树的中序遍历
上代码 var valList:[Int] = [] \ func inorderTraversal(_ root: TreeNode?) -> [Int] { ergodic(root: r
爬楼梯
直接上代码 func climbStairs(_ n: Int) -> Int { var pre = 0 var cur = 1 for _ in 1...n {
最大子数组和
直接上代码 func maxSubArray(_ nums: [Int]) -> Int { if nums.count==0 { return -1 } va
合并两个有序链表
直接上代码 `func mergeTwoLists(_ list1: ListNode?, _ list2: ListNode?) -> ListNode? { if list1==nil {
下一页
个人成就
文章被点赞
10
文章被阅读
5,239
掘力值
138
关注了
26
关注者
1
收藏集
7
关注标签
1
加入于
2022-03-11