In this article, by the use of nth derivative characterization, we obtain several some sufficient conditions for all solutions of the complex linear differential equation
$$ \begin{align*}f^{(n)}+A_{n-1}(z)f^{(n-1)}+\ldots+A_1(z)f'+A_0(z)f=A_n(z) \end{align*} $$ to lie in weighted Dirichlet spaces and derivative Hardy spaces, respectively, where
$A_i(z) (i=0,1,\ldots ,n)$ are analytic functions defined in the unit disc. This work continues the lines of the investigations by Heittokangas, et al. for growth estimates about the solutions of the above equation.