Deyan Ginev edited subsubsection_Backgrounds_for_Individual_Cells__.tex  almost 9 years ago

Commit id: 479f10091bc19dda63b0879f82314c6454277917

deletions | additions      

       

\multicolumn{5}{|c|}{Comparison of Sorting Algorithms} \\  \hline \rowcolor{FreshGreen}   \multirow{2}{*}{\okcell Name} & \multicolumn{3}{|c|}{Performance} & \multirow{2}{*}{Memory} \\ \cline{2-4}\rowcolor{FreshGreen}   \okcell  &\whitecell Best &\whitecell Average &\whitecell Worst & \\ \hline  Quicksort & \okcell $n \log(n)$ & \okcell $n \log(n)$ & \badcell $n^2$ & \avgcell $\log n$ \\  Merge Sort & \okcell $n \log(n)$ & \okcell $n \log(n)$ & \okcell $n \log(n)$ & \badcell $n$ worst case\\ 

\newcolumntype{g}{>{\columncolor{FreshGray}}c}  \begin{tabular}{ |g|c|c|c|c| }  \hline \rowcolor{FreshGreen}   \multirow{2}{*}{Name} \multirow{2}{*}{\okcell Name}  & \multicolumn{3}{|c|}{Performance} & \multirow{2}{*}{Memory} \\ \cline{2-4}\rowcolor{FreshGreen} &\whitecell Best &\whitecell Average &\whitecell Worst & \\   \hline  Quicksort & \okcell $n \log(n)$ & \okcell $n \log(n)$ & \badcell $n^2$ & \avgcell $\log n$ \\