题目内容
线性表中的插入和删除元素的操作(设data[]是存放线性表元素的数组,length是线性表长度)//插入数据元素template bool SqListClass::ListInsert(int i,T e){ int j; if (i<1||i>length) return false; for(j=length;j>=i;j--) ____________________(1) ____________________(2) ____________________(3) return true;}//删除数据元素template //template bool SqListClass::ListDelete(int i){ int j; if (i<1||i>length) return false; for(j=i-1;j
查看答案
搜索结果不匹配?点我反馈