\documentclass{article}
\usepackage{mathtools}
\begin{document}
\renewcommand{\arraystretch}{1.2}
\begin{table}[t]
\centering
\begin{tabular}{@{}c|ll|ll@{}}
\hline
A & B & & C & \\
\hline
D & $\begin{cases}
3 & \text{if } n = 1 \\
4 & \text{if } n\ge 1
\end{cases}$ & & & \\ \hline
E & F & & G & \\ \hline
\end{tabular}
\end{table}
\end{document}
With this code, the cases bracket touches the upper and lower horizontal lines. I'd like to add a bit of space, both upper and lower. I tried increasing the \renewcommand{\arraystretch}, but that didn't help.



