印象里有四道题,只记得前两道。
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] is the index of the leftmo
nsecutive 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.