02 2020 档案
摘要:堆的概念: 堆中某个节点的值总是不大于或不小于其父节点的值; 堆总是一棵完全二叉树。 以百度的一个面试题为例: 序列{9,12,17,30,50,20,60,65,4,19}构造为堆后,堆所对应的的中序遍历序列可能为 A、65,12,30,50,9,19,20,4,,17,60 B、65,12,30
阅读全文
摘要:方案一: 自定义 一个 class 选择器 <style> .changeColor{ background-color: #31b0d5 !important; color: white; } </style> //初始化空数组,用来存放checkbox对象。 var rel_Ids = [];
阅读全文
摘要:前端代码: $.ajax({ url: $("#dataMain").attr("data-url"), type: "GET", dataType: "json", timeout: 3000, data: data, success: function (res) { console.log(r
阅读全文