Determine the size of an int variable, a double
variable, and a pointer on your computer. (The C++ operator sizeof might be
useful here if you do not already know the answer.)
(a) Calculate the break-even point, as a function
of n, beyond which the array-based list is more space efficient than the linked
list for lists whose elements are of type int.
(b) Calculate the break-even point, as a function of n, beyond which the array-based list is more space efficient than the linked list for lists whose elements are of typedouble.
确定一个int变量的大小,一双
变量,和计算机上的指针。(C++运算符sizeof可能
在这里有用,如果你不知道答案。)
(一)计算出的盈亏平衡点,作为一个函数
N,超出该阵列列表更多的空间比EFfi有效链接
列表的元素是int类型列表
(b)计算盈亏平衡点,作为n的函数,超越基于数组列表更多的空间效率比EFfi链表链表元素是型。
翻译么??