Fundamental Deterministic Algorithms