The problem 1.2.10 from Qing Liu's book "Algebraic Geometry and Arithmetic Curves" is the following:
Let $A$ be an integral domain, and $B$ its integral closure in the field of fractions $\operatorname{Frac}(A)$. Suppose that $B$ is a finitely generated $A$-module. Show that $B$ is flat over $A$ if and only if $B=A$. One can show that this result is true without the assumption of finiteness of $B$ over $A$.
Is that result easier to prove if one assumes that $B$ is finitely generated $A$-module than without it? I just saw a sketch that the general case might be proved by taking taking polynomial of degree $n$ and show somehow that one can find a polynomial with smaller degree to get a contradiction but I didn't understand it and how to complete it to a valid proof.