Pre-allocating memory for linked list

后端 未结 0 1963
星月不相逢
星月不相逢 2021-02-13 15:24

In a technical interview, the guy asked me that "he wants to pre-allocate memory for a linked list just like we can do for array", so how would he do that?
I have

相关标签:
回答
  • 消灭零回复
提交回复
热议问题