Knowledge of the stl algorithm