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 阅读全文
posted @ 2020-07-09 15:29 略略略—— 阅读(165) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2020-07-09 15:06 略略略—— 阅读(192) 评论(0) 推荐(0) 编辑
摘要:在lambda函数最后的return语句是这样的: 1 return Promise.all( 2 _.map(results, (temp, assetID) => { 3 _.map(temp, (measurements, time) => 4 sdk.pushMeasurements({ a 阅读全文
posted @ 2020-07-06 13:04 略略略—— 阅读(613) 评论(0) 推荐(0) 编辑
摘要:参考官方文档:https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Functions/Arrow_functions 其中说: // 当箭头函数的函数体只有一个 `return` 语句时,可以省略 `return` 关键 阅读全文
posted @ 2020-07-06 11:40 略略略—— 阅读(3209) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示