07 2020 档案
摘要:62. Unique Paths(机器人走网格的单一路径数量) A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only mo
阅读全文
摘要:1029. Two City Scheduling (双城面试2N人费用最小问题) There are 2N people a company is planning to interview. The cost of flying the i-th person to city A is cost
阅读全文
摘要:在lambda函数最后的return语句是这样的: 1 return Promise.all( 2 _.map(results, (temp, assetID) => { 3 _.map(temp, (measurements, time) => 4 sdk.pushMeasurements({ a
阅读全文
摘要:参考官方文档:https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Functions/Arrow_functions 其中说: // 当箭头函数的函数体只有一个 `return` 语句时,可以省略 `return` 关键
阅读全文