欢迎来到 A_Dull_Rabbit 的博客

随笔分类 -  Leetcode

力扣刷题
74. 搜索二维矩阵(GO)
摘要:// Golang func searchMatrix(matrix [][]int, target int) bool { // 获取行列长度 m, n := len(matrix), len(matrix[0]) // 计算切片大小 var low, height int = 0, m*n-1 阅读全文

posted @ 2021-03-30 23:08 A_Dull_Rabbit 阅读(202) 评论(0) 推荐(0)

92. 反转链表 II(Python)
摘要:# Definition for singly-linked list. # class ListNode(object): # def __init__(self, val=0, next=None): # self.val = val # self.next = next class Solut 阅读全文

posted @ 2021-03-27 11:18 A_Dull_Rabbit 阅读(90) 评论(0) 推荐(0)

导航