Ask Your Question

Revision history [back]

Given an ordered tree T, you can do:

sage: T.to_dyck_word()