# Latex LaTex error : "Missing } inserted"

I have written this:

but latex gives me the error "Missing } inserted", i tried some stuff but everytime latex gives me this. Can you help me please ?

• Welcome to TSE. Please post a Minimal Working Example, instead of a code snippet. Jun 21 at 9:17
• \begin{array}{2} contains a syntax error. Please tell us how your array environment is supposed to be organized: how many columns, and how should the columns be aligned?
– Mico
Jun 21 at 9:27
• Move \end{document} up until you find the exact line that causes the problem. Then you can create a MINIMAL example showing the problem. Until then, the best we can say is the you are missing a }. Jun 21 at 9:31
• Off-topic: Don't write $G^'$ and $L^'$, respetively. Instead, just write $G'$ and $L'$, i.e., omit the ^ (caret, "exponentiation") symbols.
– Mico
Jun 21 at 9:39
• Please post the code itself, not a screenshot of the code. In general, I'd say, you're using far to many curly braces. For instance, there's is absolutely no advantage in writing ${C_G}$. Indeed, by writing $C_G$ you would do yourself a big favor as you'd have to deal with much less code clutter. Similarly, do replace ({C_{{G_{end}}(V,E}}) with (C_{G_{\mathrm{end}}(V,E)}).
– Mico
Jun 21 at 10:00