Randomised

Data Structures & Algorithms

\usepackage{xcolor} \usetikzlibrary{arrows.meta,positioning,shapes.misc,calc}

% — Colors — \definecolor{dsbrown}{HTML}{8A4F2D} \definecolor{primviolet}{HTML}{7A6A8F} \definecolor{itemviolet}{HTML}{6E687E} \definecolor{magentaH}{HTML}{D6427A} \definecolor{yellowH}{HTML}{D8BF2A} \definecolor{grayH}{HTML}{79838E} \definecolor{greenH}{HTML}{6B8469} \definecolor{orangeH}{HTML}{D97A36}

% — Styles — \tikzset{ >={Stealth[length=3.8pt]}, dotedge/.style={dash pattern=on 2pt off 2pt, line width=0.6pt}, treeedge/.style={dotedge,-{Stealth[length=3.8pt]}}, head/.style={draw=none, rounded corners=2mm, text=white, font=\bfseries\small, minimum width=34mm, minimum height=8mm, align=center, inner xsep=4mm, inner ysep=2.3mm}, tag/.style={draw=none, rounded corners=1.5mm, text=white, font=\bfseries\footnotesize, minimum width=29mm, minimum height=6.8mm, align=center, inner xsep=3mm, inner ysep=1.8mm}, item/.style={draw=none, rounded corners=1.5mm, text=white, font=\bfseries\scriptsize, minimum width=22mm, minimum height=6.2mm, align=center, inner xsep=2mm, inner ysep=1.3mm}, }

Read more >