2022年4月7日
摘要: package leetcode; public class offer_29 { public int[] spiralOrder(int[][] matrix) { //空数组 if(matrix==null||matrix.length==0||matrix[0].length==0) {re 阅读全文
posted @ 2022-04-07 11:05 一仟零一夜丶 阅读(22) 评论(0) 推荐(0)
摘要: package leetcode; public class demo_147 { public ListNode insertionSortList(ListNode head) { //最多有一个节点的链表直接返回 if(head==null||head.next==null) { return 阅读全文
posted @ 2022-04-07 09:55 一仟零一夜丶 阅读(30) 评论(0) 推荐(0)