注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
这题有点坑啊
The coding question was about implementing an unrolled linked list, which is a hybrid between an array and a linked list. Each node contains a fixed-size array, a size indicating how many positions are actually occupied, and a pointer to the next node. For example, the values I, O, S, A, J could be stored as [I, O, S, _,is immediately creates an empty position in the original node where the new value can be inserted. For example, inserting X at index 2 into [I, O, S, A, J] produces [I, O, X, _, _] -> [S, A, J, _, _]. |