This document describes algorithms for inserting and deleting elements from a sorted or unsorted array. The insert sorted algorithm inserts an element into the correct position in a sorted array by shifting elements down. The insert unsorted algorithm inserts an element into a specified location by shifting elements downward. The delete algorithm removes an element from a specified location by shifting elements upward and decrementing the count.