The first potential future change would modify the unacknowledged packet list so that it is organized with an index as a red-black tree instead of the current linear list.
第一个可能的未来改变是对未应答的包列表进行修改,因此包列表的组织形式不再是当前的线性列表而是通过索引组织成红-黑树。
According to the structural characteristics of polynomial, linear linked list to achieve the polynomial are added storage nodes of the coefficient and index, constructed the corresponding polynomial.
根据多项式的结构特点,利用线性链表来实现多项式相加,结点中存放各项的系数和指数,构造相应的多项式。
应用推荐