摘要:
function createArray(m,n){ return new Array(m).fill('').map(d=>new Array(n).fill(0)) } let arr = createArray(5,6) console.log(arr[0][0]) //0 ###注意 不能直 阅读全文
摘要:
/* * function ListNode(val, next) { * this.val = (val undefined ? 0 : val) * this.next = (next undefined ? null : next) * } */ function reverse(l){ le 阅读全文