Deyan Ginev edited subsubsection_Backgrounds_for_Individual_Cells__.tex  almost 9 years ago

Commit id: 8fb75a0c98e85c9d53248853d916251b3491c4c9

deletions | additions      

       

\subsubsection{Backgrounds for Individual Cells}  \begin{lstlisting}  \begin{tabular}{ |c|c|c|c|c| }  \hline  \multicolumn{5}{|c|}{Comparison of Sorting Algorithms} \\  \hline  \multirow{2}{*}{Name} & \multicolumn{3}{|c|}{Performance} & \multirow{2}{*}{Memory} \\ \cline{2-4}  & Best & Average & Worst & \\   \hline  Quicksort & $n \log(n)$ & $n \log(n)$ & $n^2$ & $\log n$ \\  Merge Sort & $n \log(n)$ & $n \log(n)$ & $n \log(n)$ $n$ worst case\\  \hline  \end{tabular} } %% TODO: Fill in with actual table  \end{lstlisting}  %%%  \definecolor{Gray}{gray}{0.85}   \newcolumntype{g}{>{\columncolor{Gray}}c} %\definecolor{LightGray}{gray}{0.85}  \newcolumntype{g}{>{\columncolor{LightGray}}c}  \begin{tabular}{ |g|c|c|c|c| }  \hline  \multicolumn{5}{|c|}{Comparison of Sorting Algorithms} \\