export type Comparator<T> = (a: T, b: T) => number;
// export enum DFSOrderPattern {'pre' = 'pre', 'in' = 'in', 'post' = 'post'}
export type DFSOrderPattern = 'pre' | 'in' | 'post';