Step 1: Write the electrostatic force formula.
According to Coulomb’s law,
\[
F=\frac{kq_1q_2}{r^2}
\]
Since
\[
k
\]
and
\[
r
\]
are constants, the force depends on
\[
q_1q_2
\]
Step 2: Use the condition for total charge.
Let the charges be
\[
q
\]
and
\[
Q-q
\]
Then,
\[
F\propto q(Q-q)
\]
\[
F\propto qQ-q^2
\]
Step 3: Maximize the expression.
The expression
\[
qQ-q^2
\]
is a quadratic function.
Differentiate with respect to \(q\):
\[
\frac{d}{dq}(qQ-q^2)=Q-2q
\]
For maximum force,
\[
Q-2q=0
\]
\[
q=\frac{Q}{2}
\]
Thus,
\[
Q-q=\frac{Q}{2}
\]
Step 4: Final conclusion.
Hence, the electrostatic force becomes maximum when the charges are
\[
\boxed{\frac{Q}{2},\frac{Q}{2}}
\]