注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
字节跳动美国OA, 一共四题,难度递增。请大家点赞支持加大米,我会发答案和剩下两题,感谢。
1.
A team of astronauts on a spaceship is receiving important data from Earth for their research. The data is being transmitted in segments that contain specific parts of the file, and each segment defines a byte range in the form of a two-dimensional array engments For each segmentsegment (L), the range is given in an array of two 64-bit integers: segment[i][0] is the index of the first byte in the ith segment, and segment[i][1] is the index of the last byte in the ith segment (both indices are inclusive, 1-based).
Your task is to calkground) are identical to each other but different from the Y-pattern states.
Note: For a square matrix of size nxn, there are exactly 6 possible Y-pattern configurations. The Y-pattem states and background states can be any combination of the three molecular states (0, 1, 2) as long as they are different from each other.
|