Basic Algorithms and O Values