A simple exact solution of a one-dimensional Schr\"odinger equation which describes the motion of a particle in a continuous potential V(x) and scattering from a finite set of $\ensuremath{\delta}$-function potentials of arbitrary positions and strengths is found.