this is for holding javascript data
Deyan Ginev edited subsubsection_Backgrounds_for_Individual_Cells__.tex
almost 9 years ago
Commit id: 479f10091bc19dda63b0879f82314c6454277917
deletions | additions
diff --git a/subsubsection_Backgrounds_for_Individual_Cells__.tex b/subsubsection_Backgrounds_for_Individual_Cells__.tex
index c9d5e1f..aa9ed8a 100644
--- a/subsubsection_Backgrounds_for_Individual_Cells__.tex
+++ b/subsubsection_Backgrounds_for_Individual_Cells__.tex
...
\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$ \\