add doc: 4 non-modifying algorithms