HOW TO FORMAT PSEUDO CODE Make sure you: - specify the input and output parameters - declare and initialize all the variables used. - do not declare or initialize variables you do *not* use. Typesetting, write the name of - functions and procedures in small caps font {\sc Function-Name} - data structures in emphasized font {\em data-structure-name} - constants in courier font {\tt Constant-Name} - For making an assignment, use the form "a <-- b" ($a \leftarrow b$) - For making a test, use the form "a = b" - For control constructs, limit yourself to the minimum: while, repeat, for, etc.. Do not use when, unless (they are Lisp'y and not conventional). - Use an algorithm style package, avoid formatting yourself. - Make sure you provide a worst-case complexity estimate in the text.