答案1
因为你是 Linux 爱好者而我是一只企鹅……
\documentclass[tikz,border=3mm]{standalone}
\usetikzlibrary{arrows.meta,bending,positioning}
\begin{document}
\begin{tikzpicture}[rect/.style={draw,thin,fill=blue,minimum width=1em,
minimum height=3.5em,alias=tmp},font=\sffamily,>={Latex[bend]}]
\path[nodes=rect] node(r0){} node[below right=0em and 2em of tmp](r1){}
foreach \i in {2,...,5} {node[right=1ex of tmp](r\i){}}
node[below right=0em and 2em of tmp](r6){};
\path[nodes={inner xsep=0pt}]
(r1.north west) node[above right]{Back}
(r5.north east) node[above left]{Front};
\draw[->](r0.south) to[out=-90,in=180] node[below left]{Enqueue} (r1.west);
\draw[->](r5.east) to[out=0,in=90] node[above right]{Dequeue} (r6.north);
\end{tikzpicture}
\end{document}