Ambiguity and Constraint in Mathematical Expression Recognition
Introduction to Algorithms