
Patrick B. answered 01/29/21
Math and computer tutor/teacher
Which one is the middle the 10th or 11th?
Update ( list, entry, indexpos)
If indexpos<list.Count
List.cur= head
For i=0 to indexpos-1
List.cur = list.cur.next
List.cur.data = entry
Else
Error Invalid index
Endif