摘要: /* * function ListNode(x){ * this.val = x; * this.next = null; * } */ /** * * @param head ListNode类 the head node * @return ListNode类 */ function sort 阅读全文
posted @ 2022-03-27 21:54 方头小小狮 阅读(38) 评论(0) 推荐(0)
摘要: function ListNode(x){ this.val = x; this.next = null; } function FindFirstCommonNode(pHead1, pHead2) { let p1 = pHead1 let p2 = pHead2 //p1长度遍历 let k1 阅读全文
posted @ 2022-03-27 21:53 方头小小狮 阅读(40) 评论(0) 推荐(0)
摘要: /* * function ListNode(x){ * this.val = x; * this.next = null; * } */ /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param pHead ListNode类 * @param 阅读全文
posted @ 2022-03-27 21:51 方头小小狮 阅读(50) 评论(0) 推荐(0)
摘要: function ListNode(x){ this.val = x; this.next = null; } function Merge(pHead1, pHead2) { // write code here let cur = new ListNode() let dummy = cur w 阅读全文
posted @ 2022-03-27 21:49 方头小小狮 阅读(38) 评论(0) 推荐(0)
摘要: /*function ListNode(x){ this.val = x; this.next = null; }*/ function ReverseList(pHead) { // write code here if(!pHead) return pHead if(pHead!== null 阅读全文
posted @ 2022-03-27 21:41 方头小小狮 阅读(31) 评论(0) 推荐(0)
摘要: 一.冒泡排序: 二。插入排序 三。快速排序 阅读全文
posted @ 2022-03-23 18:32 方头小小狮 阅读(67) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-03-23 06:20 方头小小狮 阅读(31) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-03-23 05:35 方头小小狮 阅读(21) 评论(0) 推荐(0)
摘要: Host: www.study.com // 请求的地址域名和端口,不包括协议 Connection: keep-alive // 连接类型,持续连接 Upgrade-Insecure-Requests:1 // http 自动升级到https,防止跨域问题但是域名端口都不同的不会提升 User-A 阅读全文
posted @ 2022-03-21 19:30 方头小小狮 阅读(200) 评论(0) 推荐(0)
摘要: 来源于B站: https://www.bilibili.com/video/BV1HR4y1V7jS?from=search&seid=11742617480254530777&spm_id_from=333.337.0.0 阅读全文
posted @ 2022-03-20 20:14 方头小小狮 阅读(31) 评论(0) 推荐(0)