Rest API Intermediate Hackerrank Test 源码
其余API-中间-Hackerrank测试 问题1 解决方案:仅利用10个GET请求,并利用任何团队最多只能进球10个目标的约束。 方法1: const fetch = require ( "node-fetch" ) ; let goals = [ ] ; for ( let i = 0 ; i <= 10 ; i ++ ) goals . push ( i ) ; let ans = 0 ; async function getDrawnMatches ( year ) { await Promise . all ( goals . map ( async ( goal ) => { const respone = await fetch ( `https://jsonmock.hackerrank.com/a
文件列表
Rest-API-Intermediate-Hackerrank-Test-main.zip
(预估有个7文件)
Rest-API-Intermediate-Hackerrank-Test-main
Screenshots
photo_2021-02-03_16-55-161111111111.jpg
49KB
photo_2021-02-03_16-52-22.jpg
89KB
photo_2021-02-03_16-55-141111111111.jpg
42KB
photo_2021-02-03_16-55-181111111111.jpg
45KB
photo_2021-02-03_16-52-27.jpg
71KB
photo_2021-02-03_16-55-211111111111.jpg
34KB
README.md
5KB
暂无评论