课程代码: 0666126 School of Computer Science &Technology 20 int LocateElem_Sq(SqList L , Elemtype x) { int i = 1; while( I <= L.length && L.elem[i -1] != x) i ++; if (i >L.length) return -1; else return i; /*Return the position of x */ }
{}