Text this: Discrete algorithms