注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
本帖最后由 夜枕青山 于 2022-1-19 21:56 编辑
印象里有四道题,只记得前两道。
LC 1861
另一道题有复制原题
A user is uploading a big file to your server. The upload is done by sending file chunks of consecutive byte ranges, and the byte ranges for all chunks are represented as a two-dimensional array chunks. For each chunk chunks, the byte range is stored in an array of two 64-bit integers: chunks[i][0] isnsecutive byte range interval [1, 2] was received after this chunk.
The second chunk only contains the byte 3, so only one one consecutive byte range interval [1, 3] was received after this chunk.
[/i][/i] |