Deyan Ginev edited subsection_Advanced_Table_Colors_In__.tex  almost 9 years ago

Commit id: 9362e56821053c4e7f1af1f45cfa1eee8c109120

deletions | additions      

       

\renewcommand{\arraystretch}{2.5}    {\rowcolors{3}{green!80!yellow!50}{green!70!yellow!40}  \begin{tabular}{ |c|r|r|r| |c|r|r|r|r|  } \hline  \multicolumn{3}{|c|}{Comparison \multicolumn{5}{|c|}{Comparison  of Sorting Algorithms} \\ \hline  Name & \multicolumn{3}{|c|}{Performance} & Memory \\ \\  &  BestO  & AverageO  & Worst O &  \\ \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}  }