\usepackage[letterpaper,margin=1in]{geometry}
\usepackage{amsmath,amsthm,amssymb,latexsym}
\usepackage{array,multirow,alltt,enumerate,bbm,eucal,graphicx}
\usepackage[colorlinks]{hyperref}
\usepackage{xcolor,stmaryrd,bussproofs,mathpartir}
\usepackage{tikz,pgfmath}
\usepgflibrary{shapes}
\usetikzlibrary{arrows,automata,backgrounds,calc}

\oddsidemargin=0in
\topmargin=-1cm
\textheight=22cm
\textwidth=6.5in
\parskip=6pt
\leftmargini=3ex
\newlength\courseheader
\newcommand\header[2]{
\fboxrule=.5mm\fboxsep=1.2mm
\courseheader=\textwidth
\addtolength{\courseheader}{-4mm}
\begin{center}\framebox{\parbox\courseheader{\textbf{Analysis of Algorithms\hfill #1\\CS6820 Fall 2022\hfill #2}}}\end{center}
\vspace{5mm}
}

\newtheorem{theorem}{Theorem}
\newtheorem{lemma}[theorem]{Lemma}
