Professional Documents
Culture Documents
Traversal (A, LB, UB) A is an array with Lower Bound LB and Upper Bound UB.
Step 3: Exit
Insert (A, N, ITEM, Pos) A is an array with N elements. ITEM is the element to be
A[ I + 1] = A[I]
Step 3: N = N+1
Step 4: Exit
Delete (A, N, ITEM, Pos) A is an array with N elements. ITEM is the element to be
A[ I ] = A[I+1]
Step 3: N = N-1
Step 4: Exit